User Tools

Site Tools


public_scripts:trigroomobject

TrigRoomObject

Trigger when this object is inside a designated room. Link from the object to any number of rooms using Route links. The script sends TurnOn when the object enters any of the rooms. TurnOff is sent when it exits the room. Moving between two rooms that are both linked will do nothing.

In System Shock 2, the rooms are linked together using a ScriptParams link that has the data set to Route.

Inherits BaseRoomScript
Messages ObjRoomTransit
Links ControlDevice, SwitchLink, Route, ScriptParams(Route)
public_scripts/trigroomobject.txt · Last modified: 2010/11/22 19:07 (external edit)