Template:Fl WeaponSpawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undo revision 487263 by Alexiscoutinho (talk))
Tag: Undo
(Updated ordering, parameters and cleaned up)
 
Line 1: Line 1:
<noinclude>
{{Fl|4|Absorb any dropped weapon type|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}<!--
__NOTOC__
-->{{#if: {{{l4d2only|}}}||<nowiki/><!-- to preserve this newline -->
This template has a parameter to account that weapon entities between their L4D1 and L4D2 versions have [[FGD]] differences.<br>
{{Fl|131072|Don't Cluster With Similar Items|only={{l4d}}}}
<b>Parameters:</b>
}}
<pre>{{WeaponSpawn|optionalscavenge=1}}</pre>
{{Fl WeaponSpawnSingle|l4d2only={{{l4d2only|}}}}}<noinclude>
{{param|optionalscavenge}} - Display flags for<code>WeaponSpawnOptionalScavenge</code>.
 
<hr>
[[Category:Flag Templates|WeaponSpawn]]</noinclude>
</noinclude>
{{Fl WeaponSpawnSingle}}
{{Fl|4|Absorb any dropped weapon type|only={{l4d2}}}}
{{Fl|131072|Don't cluster with similar items|only={{l4d}}}}
{{#ifeq:{{{optionalscavenge|0}}}|0||
{{Fl WeaponSpawnOptionalScavenge}}
}}<noinclude>
[[Category:Flag Templates|WeaponSpawn]]
</noinclude>

Latest revision as of 14:12, 7 November 2025

Absorb any dropped weapon type : [4] (only in Left 4 Dead 2)
Don't Cluster With Similar Items : [131072] (only in Left 4 Dead)
Enable Physics : [1]
Must Exist : [2]
Infinite items (overrides count) : [8] (only in Left 4 Dead 2)