Template:Fl WeaponSpawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed formatting)
(Wanted to keep the template inheritance consistent for {{X WeaponSpawn}} templates, so here's a {{#ifeq:{{{optionalscavenge|1}}}|0||}}. || Updated template to use {{Fl}} templates)
Line 1: Line 1:
{{ScrollBox|title=WeaponSpawn|
{{ScrollBox|title=WeaponSpawn|
* 4 : Absorb any dropped weapon type {{only|{{l4d2}}}}
{{Fl|4|Absorb any dropped weapon type|only={{l4d2}}}}
* 131072 : Don't cluster with similar items {{only|{{l4d}}}} {{todo|What is this for? Weapons already have their own density settings, and does this work?}}
{{Fl|131072|Don't cluster with similar items|only={{l4d}}}}
{{Fl WeaponSpawnSingle}}
{{Fl WeaponSpawnSingle}}
{{#ifeq:{{{optionalscavenge|1}}}|0||
{{Fl WeaponSpawnOptionalScavenge}}
}}
}}<noinclude>
}}<noinclude>
[[Category:Flag Templates|WeaponSpawn]]
[[Category:Flag Templates|WeaponSpawn]]
</noinclude>
</noinclude>

Revision as of 13:16, 1 August 2022

WeaponSpawn:
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)
WeaponSpawnOptionalScavenge (only in Left 4 Dead):
Add to director scavenge list : [65536]
Todo: What does this flag mean?