Trigger once: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 
 
 
 
 
		
	
m (Reverted edit of Acc4tTrocn, changed back to last version by Etset)  | 
				mNo edit summary  | 
				||
| Line 1: | Line 1: | ||
{{wrongtitle|title=trigger_once}}  | {{wrongtitle|title=trigger_once}}  | ||
{{base_brush}}  | |||
== Entity description ==  | == Entity description ==  | ||
A trigger [[Entity#Brush_entities|volume]] that removes itself after it is triggered once (touched by a qualifying entity). A trigger uses outputs to activate an event in another entity.  | A trigger [[Entity#Brush_entities|volume]] that removes itself after it is triggered once (touched by a qualifying entity). A trigger uses outputs to activate an event in another entity.  | ||
* See also [[trigger_multiple]]  | |||
* See also [[Inputs and Outputs]]  | |||
== Keyvalues ==  | == Keyvalues ==  | ||
| Line 15: | Line 19: | ||
== Outputs ==  | == Outputs ==  | ||
* {{o triggeronce}}  | * {{o triggeronce}}  | ||
Revision as of 15:20, 12 April 2008
Template:Wrongtitle Template:Base brush
Entity description
A trigger volume that removes itself after it is triggered once (touched by a qualifying entity). A trigger uses outputs to activate an event in another entity.
- See also trigger_multiple
 - See also Inputs and Outputs
 
Keyvalues
Flags
- {| class="mw-collapsible mw-collapsed" style="background:initial;float:no;margin-bottom:1em;margin-left:0;padding-right:0.5em;border:1px solid rgba(255,255,255,0.1); border-left:solid 1px #8bb9e0; padding-left:1em;"
 
|+ style="text-align:left; white-space:nowrap; font-weight:bold; color:#ddd; " | BaseTrigger |
- Everything (not including physics debris) : [64]
 
- Only clients in vehicles : [32]
 
- Only clients *not* in vehicles : [512]
 
- Only player ally NPCs : [16]
 
- Only NPCs in vehicles (respects player ally flag) : [2048]
 
- Physics Objects (not including physics debris) : [8]
 
- Physics debris (include also physics debris) : [1024]
 
Pushables (Passes entities with classname func_pushable) : [4]
- Deprecated.
Equivalent to using Everything + filter_activator_class that filtersfunc_pushable. 
|}
Inputs
- BaseTrigger:
 
- Toggle
 - Toggles this trigger between enabled and disabled states.
 
- Enable
 - Enable trigger
 
- Disable
 - Disable trigger
 
Outputs
- 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 with a delay while an entity is within this trigger's volume. Delay is defined by Delay Before Reset key.