ENTITY:TriggerOutput
Example
Creates a brush entity that will run OnEndTouch
outputs when compiled into a map
Example
For engine entities you can use Entity:Fire to hook outputs. This example hooks all trigger_teleport
.
ACTIVATOR / CALLER / TRIGGER_PLAYER globals are only available during execution, they are unset directly afterwards.
Output: When player touches trigger_teleport this will be printed in the console:
Player [1][Player1] Entity [3][trigger_teleport]