destroy a created exit.
SamIam
26 Oct 2011, 15:57How do you destroy an exit that you create? Say you have a trap door. If the door is opened then create the exit. If the player closes the door destroy the exit.
Alex
26 Oct 2011, 17:35Unfortunately in the current version you can't specify a name for a created exit, so you can't delete it easily.
For a couple of workarounds, see viewtopic.php?p=19097#p19097
For a couple of workarounds, see viewtopic.php?p=19097#p19097
SamIam
26 Oct 2011, 21:37Thanks Alex. I created an exit then destroyed it using the destroy object with the GetExitByLink(from room,to room) as the expression. It worked great.