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
Ratalon
Beginner


Joined: 08 Apr 2004
Posts: 24
Location: USA

PostPosted: Fri Apr 23, 2004 7:54 am   

Portals with Random exits
 
In town there are 2 portals (unique room title and Descriptions)
these 2 portals will drop you off at 1 of 4 locations on another island. (each drop point each has its own unique NAME and DESC)
And the same works backwards, the 4 will lead back to one of the 2 at random.

Is there a way for the mapper to know where it is after it goes thru a portal. I know I could make a '#find' trigger but then I cannot link the portal to any one location because it assumes it is arriving wherever I put the link to.
So I was just wondering if there was a way to have it rather then confirm where it is after taking a step, it confirms and changes the location based on where it is.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Apr 23, 2004 5:57 pm   
 
Make a fake room as the portal destination. Make a room script for that room to compare the room's name and description to the four possibilities and #TELEPORT you to the correct one.
Reply with quote
Ratalon
Beginner


Joined: 08 Apr 2004
Posts: 24
Location: USA

PostPosted: Sat Apr 24, 2004 5:58 pm   
 
Would that help with the slowwalking thru the portals?
or would I have to re-slowwalk?

lemme try it out
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Apr 25, 2004 1:16 am   
 
I believe it would STOP your slow walk #TELE Clears the queue and sets your position to DEST (Zmud not in front of me so not exactly sure but I believe this is the case)
however you can set up a walk script in the portal room to STORE your %destroom to a variable then do the Teleport according to trigger and finnaly do a #walk @destroomvar

If I get on later i will test and fine tune for you but that should be enough to get you started.
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