Plat/Emitter Relay Triggers | Index

Relay Triggers MUST be activated by another event. The triggers below control either the movement of func_train_ext and func_watertrain entities, or the spin (avelocity) of func_emitter and func_emitter_volume. These *can* contain killtargets, delays, and messages just like normal relay triggers, though only delay may make sense here.



trigger_changedir
Causes func_train_ext and func_watertrain to change directions if ALLOWCHANGEDIR is set, or reverses the spin of func_emitter and func_emitter_volume. If the target is moving, it continues in opposite direction, if the target is stopped, it will move in opposite direction on the next movement trigger.

Key Value Pairs:
delay Delay before triggering
target Must be a func_train_ext, func_watertrain, func_emitter or func_emitter_volume
targetname Must be triggered by another entity



trigger_forward
Causes func_train_ext and func_watertrain to move forward. It automatically changes direction if going the wrong way. Direction changes are made regardless if ALLOWCHANGEDIR is set or not. It will also cause func_emitter and func_emitter_volume with avelocity to spin in the forward direction. This trigger will start motion if the target is stopped, but will never stop it.

Key Value Pairs:
delay Delay before triggering
target Must be a func_train_ext, func_watertrain, func_emitter or func_emitter_volume
targetname Must be triggered by another entity



trigger_reverse
Causes func_train_ext and func_watertrain to move in reverse. It automatically changes direction if going the wrong way. Direction changes are made regardless if ALLOWCHANGEDIR is set or not. It will also cause func_emitter and func_emitter_volume with avelocity to spin in the reverse direction. This trigger will start motion if the target is stopped, but will never stop it.

Key Value Pairs:
delay Delay before triggering
target Must be a func_train_ext, func_watertrain, func_emitter or func_emitter_volume
targetname Must be triggered by another entity



trigger_stop
Causes func_train_ext and func_watertrain to stop, or func_emitter and func_emitter_volume with avelocity to stop rotating. If the target is already stopped, this trigger is ignored.

Key Value Pairs:
delay Delay before triggering
target Must be a func_train_ext, func_watertrain, func_emitter or func_emitter_volume
targetname Must be triggered by another entity



trigger_go
Causes func_train_ext and func_watertrain to start moving, or func_emitter and func_emitter_volume with avelocity to start rotating. If the target is already moving, this trigger is ignored.

Key Value Pairs:
delay Delay before triggering
target Must be a func_train_ext, func_watertrain, func_emitter or func_emitter_volume
targetname Must be triggered by another entity