ID:170970
Nov 25 2004, 2:05 pm
|
|
does anyone know how to make a verb that when you push it you go to a cordinate and it says, "welcome to gm zone!"?
|
Nov 25 2004, 2:06 pm
|
|
Sure. There is two ways I know of, the first is using locate to a area:
area The second is locating to an x,y,z: mob I suggest using the first, because you can esily move the turf to somewhere where you want to start and not have to change 3 numbers. Remeber if you use the first one, you hate to put the area on the map where you want them to go. XxDohxX |
In response to Loduwijk
|
|
Also, does nayone know how to make a verb that onley admins have, and when you press it , a new verb will apeer in the commands tab?Example, i want lvl 4 admins to have a verb called, "Budokia" and when you press it everyone will get a new verb in the commands tab and it will anounce to the world, "Budokia is being hosted!" and when the players press the verb, it will teleport them to (1,1,1). can anyone PLZ help?
|
In response to Tsonic112
|
|
mob/admin/verb/grant_budokai() |
In response to Hell Ramen
|
|
Actually in that for() you should make the mob mob/player or something to that extent, so that monsters or something don't get the verb also (i'm not sure if they can) but I think that the way you are doing it broaden's (sp?) the search requiring more time.
|
In response to N1ghtW1ng
|
|
Add a if(M.client) then for the monster problem.
|
In response to Hell Ramen
|
|
That still will require the proc to search through all the mobs in the world...so this would work
//code |
In response to N1ghtW1ng
|
|
N1ghtW1ng wrote:
That still will require the proc to search through all the mobs in the world...so this would work > That's only if he defined it as "player", for the main mob. Maybe if he uses client/C? It's better if he makes a player list. |
In response to Hell Ramen
|
|
Yeah I know, I was just using mob/player/ as an example..forgot to mention that >.>
You put what ever you defined world.mob in the for loop. |
In response to N1ghtW1ng
|
|
N1ghtW1ng wrote:
Yeah I know, I was just using mob/player/ as an example..forgot to mention that >.> Actually, the player mob and world.mob may be different things, because remember, he could be using a character handling mob to start with that switches to the player mob :P |
In response to Lenox
|
|
That may be true, but I don't like doing that so yeah >.>
|