Exits and Go To

Alf
Hi, Everybody. I have a few questions regarding exits and Go To:

Is there a way to enable/disable all exits and Go To's within a room? For example, if the lights are out, no movement is available. If you turn on the lights, all possible movements are available.

I would like to have a global command that will allow "goto" to be allowed in the place of "go to". Is this possible?

Thanks in advance!

Alf

Alex
There's no quick way of disabling all exits, but you could use a script for each exit. In the script, check the flag "light on" or whatever you've called it, and then move the player if they are able to.

As for "goto", you can either set up a synonym, or you could create a "goto #place#" command which then ran the script "Execute a command as if typed by the player" with the parameter "go to #place#".

Alf
Thanks, Alex. That's what I needed to know. I appreciate the quick reply! - Alf

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

Support

Forums