|
JRSteensen Novice
Joined: 27 Jul 2004 Posts: 35
|
Posted: Sat May 20, 2017 9:33 pm
Automapper Questions: Voice activated exits and MDSP Exits |
Never really played much with the automapper and just now starting to dive into it.
Looking for a few things: Voice activated exits are a major thing in my MUD.
Exits may be activated via a variety of keywords - enter, exit, leave, confirm, or directions "i.e. "say north". How do I canpture these while mapping, and how do I have them sent while speedwalking?
Also, we have voice activated turbolifts. A turbolift landing (where you can call the turbolift) is identified by the tag " [Turbolift Landing]" in the room name. In these rooms, you "say turbolift" to call it. Then, you enter it when it arrives. Turbolifts are identified by the tag " [Turbolift]" in the room name. There is a series of keywords you can call, usually something like "say 1" or "say 5".
Finally, I would like to capture the vnums of rooms, based on the MDSP captured variable "ROOMVNUM".
Any ideas would be greatly appreciated. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sat May 20, 2017 11:24 pm |
Well, the most comprehensive way is by editing the individual exits of a given room on the exits tab of the room properties window.
Specifically, the 'name' field is what contains any alternate command(s) for going in that direction.
In cases where you are using an elevator, I find it easier to duplicate the elevator room on every floor of the layout and use #TRIGGERs and the #TELEPORT command to move the #LOCATION dot around accordingly.
#TRIGGERs are also useful for when there is a delay between calling the elevator, and it arriving for you to actually be able to enter it.
There is a shorthand method for this, but I think it only edits one-half of a given exit. there is no way to set the return commands to my knowledge, save going through the above method.
Assuming I remember the proper syntax...:
north:crawl crevice:
Also, you need to have the map in mapping mode to make any of these edits, so be sure to turn it back to follow when you are done.
i would make use of:
#EVENT onRoomEnter (#IF (%match(%roomname, "Turbolift Landing")) {#T+ someTurbolifeClass} {#IF (%class(someTurbolifeClass)) {#T- someTurboliftClass}}
Or something similar to only turn on the turmolift code as needed. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
JRSteensen Novice
Joined: 27 Jul 2004 Posts: 35
|
Posted: Sun May 21, 2017 12:33 am |
Awesome! That is a great jumping off point. Thank you.
How can I pull the ROOMVNUM variable to the automapper as the room vnum while mapping? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sun May 21, 2017 12:41 am |
%roomvnum should work
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|
|
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
|
|