Hey all,
I'd like to add an attribute that all rooms would have via script. This would be vanishing points or vectors that affect the directions of keyboard movement, so it is specific to the art in each room.
Reading up on the manual, it looks like I want an "extender function" which lets me add new functions to types that other scripts can see and call. This seems ideal for me because I would like the keyboard movement script to get a new room's vanishing points/vectors when a new room is entered.
However, the manual says Extender Functions are to be placed in the script header, and Rooms don't seem to have script headers, only .asc files. Is it possible to add extender functions to rooms?
I'd like to add an attribute that all rooms would have via script. This would be vanishing points or vectors that affect the directions of keyboard movement, so it is specific to the art in each room.
Reading up on the manual, it looks like I want an "extender function" which lets me add new functions to types that other scripts can see and call. This seems ideal for me because I would like the keyboard movement script to get a new room's vanishing points/vectors when a new room is entered.
However, the manual says Extender Functions are to be placed in the script header, and Rooms don't seem to have script headers, only .asc files. Is it possible to add extender functions to rooms?
