Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 06-03-2005, 01:06 PM   #1 (permalink)
Newbie
 
Join Date: Feb 2004
Posts: 21
Question Door or Teleporter only for Staff Members ?

Hi

Im sorry if this question is already answered somehwere, but for me the search didn't give out something usefull.
Maybee i had the Wrong keywords..

Is there a way to set a door or a teleporter ( for me it doesn't matter wich of those two ) so only a Counslor, Game Master, Seer or Admin can use them ?
I wanna create a Staff only Build in Britain, so the Staff don't got to "teleport" somwhere and can just walk in

Greetinx Andy
DJ Teac is offline   Reply With Quote
Old 06-03-2005, 01:34 PM   #2 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Yes there is a way, you would have to write this class, otherwise no its not possible.
Phantom is offline   Reply With Quote
Old 06-03-2005, 02:04 PM   #3 (permalink)
 
Join Date: Jun 2005
Posts: 10
Send a message via ICQ to DungeonMaster
Default

Code:
public override bool OnMoveOver( Mobile m )
{
                   
		if ( m.AccessLevel != AccessLevel.Player )
		{
                               m.Location = new Point3D( 5879,2443, -5 ); //this must be set to the loc
                 }

		else
		{
				m.SendMessage( "You are not staff." );
		 }

		return false;
}
something to this effect should do it
________________________

Noster Universitas(NUO) - custom Guild Warfare, Territorial/Political, and Economic systems!
DungeonMaster is offline   Reply With Quote
Old 06-03-2005, 02:11 PM   #4 (permalink)
Newbie
 
Join Date: Feb 2004
Posts: 21
Default

Ah ok i though it would be only a prop i set to the teleporter.
But no problem then i gotta create a new Teleporter script,

And a big THX to Dungeon master, that looks more easy and better then the way i had done it
DJ Teac is offline   Reply With Quote
Old 06-03-2005, 05:04 PM   #5 (permalink)
 
Join Date: May 2005
Location: london
Age: 21
Posts: 898
Send a message via MSN to etherkye
Default

it's easy with doors, just lock them, then only staff can open.
etherkye is offline   Reply With Quote
Old 06-06-2005, 03:44 PM   #6 (permalink)
 
Join Date: Jun 2005
Posts: 10
Send a message via ICQ to DungeonMaster
Default

Quote:
it's easy with doors, just lock them, then only staff can open.
be careful doing that. players in ghost form can pass through locked doors.

________________________

Noster Universitas(NUO) - custom Guild Warfare, Territorial/Political, and Economic systems!
DungeonMaster is offline   Reply With Quote
Old 06-06-2005, 04:14 PM   #7 (permalink)
Newbie
 
Join Date: Feb 2004
Posts: 21
Default

Quote:
Originally Posted by DungeonMaster
be careful doing that. players in ghost form can pass through locked doors.
Yeah thats something i recognised, but now i got my team teleporter (it was more easy then i though, thanx to the code snippet from DungeonMaster ) and then i replaced the doors with walls.
Ok usualy real ghosts can walk through walls, but not in UO

But to be honest, i didn't know that i can lock every door over the settins with [props
DJ Teac is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5