Garry's Mod Wiki
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]
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...