|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Wed Aug 27, 2003 9:34 am
speedwalking and trigger |
hi, I'm writting a sets of trigger to fast-questing on a mud with a questor mob.
I can trigger the quest to have two vars containing Zone name and Room name
but I dont know how to find the speedwalk commands to that room starting
from questor room. I tried to use %walk command but unsuccesfully. |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Aug 27, 2003 12:46 pm |
Set the mapper's filter using %mapfilter so that it will contain only those rooms that match that room name and zone combination:
#CALL %mapfilter(%concat("Name = '", @roomName, "' AND ZoneID = ", %zonenum(@zoneName)))
Now you can access only those rooms that matched the criteria. If more than one matched, use the first one:
#SH The matching room's vNum is: %roomnum(1)
After you are done, reset the mapper's filter:
#CALL %mapfilter("") |
|
|
|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Wed Aug 27, 2003 1:03 pm |
this doesnt seem to work. zmud always show me room number 1
|
|
|
|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Wed Aug 27, 2003 1:47 pm |
I made it, tnk for helping Kiata
|
|
|
|
|
|