Difference between revisions of "Template:O TriggerOnce"

From Valve Developer Community
Jump to: navigation, search
m
(someone reword this if you think of better sentence)
Line 1: Line 1:
 
{{ScrollBox|title=TriggerOnce|
 
{{ScrollBox|title=TriggerOnce|
 
{{IO|OnStartTouch|Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire. {{activator|toucher}}}}
 
{{IO|OnStartTouch|Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire. {{activator|toucher}}}}
{{IO|OnTrigger|Fires every ~0.2032 seconds when an entity is in the trigger.{{confirm}}}}
+
{{IO|OnTrigger|Fired repeatedly while inside the volume, delay defined by ''Delay Before Reset''.}}
 
{{O BaseEntity|l4d=1}}
 
{{O BaseEntity|l4d=1}}
 
}}<noinclude>
 
}}<noinclude>
 
[[Category:Output Templates|TriggerOnce]]
 
[[Category:Output Templates|TriggerOnce]]
 
</noinclude>
 
</noinclude>

Revision as of 23:45, 15 July 2021

TriggerOnce:

OnStartTouch
Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire. (activator is the toucher)
OnTrigger
Fired repeatedly while inside the volume, delay defined by Delay Before Reset.

Base:

OnUser1 to OnUser4
These outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see User Inputs and Outputs.
OnKilled  (only in Left 4 Dead Left 4 Dead 2)
This output fires when the entity is killed and removed from the game.