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
gharbad
Newbie


Joined: 07 May 2003
Posts: 8
Location: USA

PostPosted: Wed Jul 30, 2003 9:46 pm   

Landmarks and auto-changing aliases
 
Hello. I have a twofold question. First, I would like to know how to set up a landmark system that would recognize certain rooms in the mud. The purpose of this landmark system is so that zmud will automatically rename certain aliases depending on where I am. Example:
I enter the room "The Great Bridge of Hale (nw,n,ne,sw,s,se)". When I enter this room, I want zmud to set "do 10s,10w,jump three times" to the alias "run". But say I move to another landmark, and I want the alias "run" to be changed to "do n,3e,2ne,climb tree".

Thanks in advance to anyone who can solve this tricky problem of mine.

Gharbage
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Jul 31, 2003 1:21 am   
 
Try using multiple zones in your map and setting these items in the Zone Script field provided by the mapper.
Reply with quote
gharbad
Newbie


Joined: 07 May 2003
Posts: 8
Location: USA

PostPosted: Thu Jul 31, 2003 7:22 am   
 
I can't get the mapper to work on my mud and would prefer not to spend the time to tweak it. Is there no way to do it with triggers and classes?
Reply with quote
miles2go
Beginner


Joined: 27 Jul 2001
Posts: 20

PostPosted: Thu Jul 31, 2003 4:05 pm   
 
Yes, create a trigger for each landmark. Have the trigger set a variable, call it runpath. For example, have "The Great Bridge of Hale (nw,n,ne,sw,s,se)" as a trigger set runpath to be "do 10s,10w,jump three times". For the alias run, just #exec @runpath
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