instant_trigger

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

instant_trigger is a point entity available in No More Room in Hell No More Room in Hell.

Entity Description

The instant_trigger is a point entity which acts as if it's a trigger, using a radius instead of a brush for detection.

KeyValues

Name (targetname) <string>
The name that other entities refer to this entity by.
Entity Scripts (vscripts) <string>
Name(s) of script files that are executed after all entities have spawned.
Script think function (thinkfunction) <string>
Name of a function in this entity's script scope which will be called automatically.
Parent (parentname) <targetname>
The name that other entities refer to this entity by.
Start Disabled (StartDisabled) <choices>
Should this entity start disabled?
Filter Name (filtername) <string>
Filter to use to see if activator triggers me. See filter_activator_name for more explanation.
Allow Players? (allowPlayers) <choices>
Should Players trigger this entity?
Allow NPCs? (allowNPCs) <choices>
Should NPCs trigger this entity?
Allow Physics? (allowPhysics) <choices>
Should Physics Objects trigger this entity?
Allow Everything? (allowAll) <choices>
Should Everything trigger this entity?
MapHack Event Label (event) <string>
Triggers this event label in the MapHack system.
Trigger Radius (radius) <integer>
Radius of the trigger.
Trigger Multiple (noclear) <choices>
Don't kill this entity after trigger.

Flags

Inputs

Kill
Kills the entity.
Disable
Disables this entity.
Enable
Enables this entity.

Outputs

OnTrigger
Fired when the progress is completed.
OnUser1 to OnUser4
Fired in response to the FireUser inputs.