env_local
One of the objects of the logic system. Can be turned on and off after a configurable delay. The entity state can be read by other entities. In addition, it can activate and deactivate objects after a delay.
Spawnflag
SF_LOCAL_START_ON |
1 (initially turned on and in the ON state) |
Options
delay |
Delay (in seconds) before turning on. |
wait |
Delay (in seconds) before turning on. |
scale |
Preset value that can be passed on to another objects during activation or deactivation. |
Usage Details
- The object activates or deactivates its target after a delay that you set.
- You can use it as a master for other objects.
- It can be a state source for multi_watcher.
- The object is fully controllable in any of its states and can be turned on and off regardless of the state it is in. To force the ON state, use the < prefix and the value 1. To force the OFF state, use the < prefix and the value 0. In other situations, use the + or - prefixes or none at all. This will make the entity reverse its state on every activation.