Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: 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.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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("")
Reply with quote
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: Wed Aug 27, 2003 1:03 pm   
 
this doesnt seem to work. zmud always show me room number 1
Reply with quote
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: Wed Aug 27, 2003 1:47 pm   
 
I made it, tnk for helping Kiata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net