Template:Fl BaseTrigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(25 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{ScrollBox|title=TriggerOnce|
{{expand|title=BaseTrigger|startcollapsed={{{startcollapsed|1}}}|noborder={{#ifeq:{{{startcollapsed}}}|0|1|0}}|bgcolor=initial|
{{Fl|1|Clients}}
{{Fl|64|Everything <span style{{=}}"color:grey;font-weight:normal;">(not including physics debris)</span>}}
{{Fl|2|NPCs}}
{{Fl|1|Clients {{in|{{l4ds}}|color={{l4ds|col}}|text=Survivors, Special Infected, Tanks}}}}
{{Fl|4|Pushables}}
<dd>{{Fl|32|Only clients in vehicles}}</dd>
{{Fl|8|Physics Objects}}
<dd>{{Fl|512|Only clients *not* in vehicles}}</dd>
{{Fl|16|Only player ally NPCs}}
<dd>{{Fl|4096|Disallow Bots {{l4d|removed}}}}</dd>
{{Fl|32|Only clients in vehicles}}
 
{{Fl|64|Everything (not including physics debris)}}
{{Fl|2|NPCs {{in|{{l4ds}}|color={{l4ds|col}}|text=Common Infected, Witches}}}}
{{Fl|512|Only clients *not* in vehicles}}
<dd>{{Fl|16|Only [[player ally NPCs]]}}</dd>
{{Fl|1024|Physics debris}}
<dd>{{Fl|2048|Only NPCs in vehicles <span style{{=}}"color:grey;font-weight:normal;">(respects player ally flag)</span>}}</dd>
{{Fl|2048|Only NPCs in vehicles (respects player ally flag)}}
 
{{Fl|4096|Disallow Bots}}
{{Fl|8|Physics Objects <span style{{=}}"color:grey;font-weight:normal;">(not including physics debris)</span>}}
{{Fl|4096|Correctly account for object mass (trigger_push used to assume 100Kg) and multiple component physobjs (car, blob...) {{AS add}}}}
<dd>{{Fl|1024|Physics debris <span style{{=}}"color:grey;font-weight:normal;">(include also physics debris)</span>}}</dd>
 
{{Fl|4|deprecated=1|Pushables <span style{{=}}"color:grey;font-weight:normal;">(Passes entities with classname {{ent|func_pushable|engine=source}})</span>|Equivalent to using '''Everything''' + {{ent|filter_activator_class}} that filters <code>func_pushable</code>. }}
}}<noinclude>
}}<noinclude>
[[Category:Flag Templates|TriggerOnce]]
[[Category:Flag Templates|TriggerOnce]]
</noinclude>
</noinclude>

Latest revision as of 14:04, 14 April 2025

BaseTrigger
Everything (not including physics debris) : [64]
Clients (Survivors, Special Infected, Tanks Left 4 Dead seriesLeft 4 Dead series) : [1]
Only clients in vehicles : [32]
Only clients *not* in vehicles : [512]
Disallow Bots (removed since Left 4 Dead) : [4096]
NPCs (Common Infected, Witches Left 4 Dead seriesLeft 4 Dead series) : [2]
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] Obsolete
Deprecated.
Equivalent to using Everything + filter_activator_class that filters func_pushable.