How to create a northwestern exit from a script, and have the NW command still work

K.V.
create exit ("northwest", fromRoom, toRoom, "northwestdirection")

This way, all the commands that would normally take the player northwest will work.

This information may be posted somewhere, but I searched for an hour and couldn't find it.


I have updated the docs for create exit to include this example, so it will be easier for the next person.


K.V.

👍

Cool!


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

Support

Forums