|
septantrionalis Newbie
Joined: 19 Apr 2022 Posts: 3
|
Posted: Tue Apr 19, 2022 7:23 pm
Creating an exit on the map based on a trigger |
I am having a hard time figuring this out. I want to create an exit on the map based on a trigger I've created. Boiled down, I want to issue a command like this :
#EXIT e
and just have it create an exit on the map. Obviously, this command doesn't exit. The #DOOR command is about as close as I can get :
#DOOR e
However, I dont want to create the door. I just want an exit. I've tried messing around with the #TAG command, but this appears to do nothing for me :
#TAG exit e
Anyone have any ideas how I can do this? What am I missing here. |
|
|
|
mikeC130 Apprentice
Joined: 03 Jul 2006 Posts: 110
|
Posted: Wed Apr 20, 2022 8:38 pm |
For the #TAG command, try putting the e in parentheses, i.e. #TAG exit (e) or #TAG exit ("e") and see if that does anything for you. If your trigger actually captures the "e" from the text and saves it, you can include it inside the (), as in (%1) if it is the first variable captured.
|
|
|
|
septantrionalis Newbie
Joined: 19 Apr 2022 Posts: 3
|
Posted: Wed Apr 20, 2022 9:30 pm |
I tried :
#TAG exit ("e")
#TAG exit (e)
#TAG exit e
#TAG exit ("east")
#TAG exit (east)
#TAG exit east
I also double checked to make sure the map was in "edit" mode. None of these commands create an exit to the east. :( |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Thu Apr 28, 2022 11:18 pm |
#CALL %roomexit(,%additem(%roomexit, "e"))
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
septantrionalis Newbie
Joined: 19 Apr 2022 Posts: 3
|
Posted: Tue May 10, 2022 2:04 pm |
shalimar wrote: |
#CALL %roomexit(,%additem(%roomexit, "e")) |
Boom! That worked! Thanks. |
|
|
|
|
|