TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

#map at

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Brax



Joined: 13 Feb 2017
Posts: 5

PostPosted: Fri Apr 07, 2017 4:50 am    Post subject: #map at Reply with quote

Hiya,
What does #map at do ? Smile

I thought it would let me set a command to do whenever I entered a specific room. but I can't seem to get it right.
I have tried things like
#map at {2004} {jump} // just a test for a room I walk through
#map at {test_room_name} {jump}

What happens? I jump as soon as I enter this command, I can be in the room, next to it, far away from it, but as soon as I enter the #map at, i jump?

Am I thinking this does something it doesn't do ? Smile
thanks
B
Back to top
View user's profile Send private message
PowerGod



Joined: 04 Aug 2014
Posts: 339

PostPosted: Fri Apr 07, 2017 11:08 am    Post subject: Reply with quote

You want this:

Code:

#EVENT {MAP ENTER ROOM 2004} {jump}
#EVENT {MAP EXIT ROOM 2004} {wave}


The command "#map at" is usefull to execute the other "#map" commands from other rooms...
for example the command "#map delete e" will delete the room east from the current room, but if you issue "#map at {2004} {#map delete e}" this will delete the room east to the room 2004
Back to top
View user's profile Send private message
Brax



Joined: 13 Feb 2017
Posts: 5

PostPosted: Sat Apr 08, 2017 4:03 am    Post subject: Reply with quote

Lovely thank you. I learnt two things !!

What map at does.. I was totally wrong Smile

And you can have vnums on the event.

I appreciate the reply thanks very much
Back to top
View user's profile Send private message
PowerGod



Joined: 04 Aug 2014
Posts: 339

PostPosted: Sat Apr 08, 2017 8:32 am    Post subject: Reply with quote

Thumbs Up
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion All times are GMT - 5 Hours
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
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group