Entity Data
CTriggerHurt
entity datadesigner name: trigger_hurt
Parent Classes
Members (8)
damage:float
damagecap:float
damagetype:int
damagemodel:int
nodmgforce:boolean
damageforce:resource
forgivedelay:float
thinkalways:boolean
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.
Outputs (2)
OnHurt
OnHurtPlayer
Think Functions (3)
CTriggerHurtHurtThink
CTriggerHurtNavThink
CTriggerHurtRadiationThink