destroy a created exit.

SamIam
How 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
Unfortunately 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

SamIam
Thanks 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.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums