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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Ashur
Novice


Joined: 25 Jul 2011
Posts: 39

PostPosted: Tue Sep 24, 2013 3:55 pm   

Get CurrentPosition in Trigger
 
Is there a way to return the room number that your character is currently in?

I have two rooms that straddle a gate, during the nighttime the gate is closed and "knock gate" is used to move to the opposite room. During the daytime, the gate is wide open and I can just walk through with a normal direction command. I can handle the gate, but I need to be able to tell what side of it I'm on from a trigger so that I can tell the mapper how to update my position correctly. Is there a function I can use to accomplish this or do I have to get crafty?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Tue Sep 24, 2013 9:22 pm   
 
%roomnum should, so long as it follows on your map fine
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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