swiftlys2/docs/api/releases/features/ai/

Entity Data

versions
Counter-Strike 2›CTriggerCallback

CTriggerCallback

entity data
designer name: trigger_callback
Inputs (3)
Enable() -> void
raw: ScriptEnable
Enable the trigger
Disable() -> void
raw: ScriptDisable
Disable's the trigger
IsTouching(hscript) -> boolean
raw: Script_IsTouching
Checks whether the passed entity is touching the trigger.