weapon_scavenge_item_spawn
Jump to navigation
Jump to search
Code classes:
CWeaponScavengeItemSpawn
CWeaponSpawn
CItem
(items)CBaseAnimating
(models)CBaseEntity
(all ents)
weapon_scavenge_item_spawn
is a point entity present in Left 4 Dead 2. It spawns a gas can one or more times. Used in Scavenge mode to add objective items into the map.
Keyvalues[edit | edit source]
- Initial Glow State
(glowstate)
<choices>
- Whether cans should glow the moment the map starts or not. Cans will glow through objects even if not being looked at.
- 0: OFF
- 3: ON
Inputs[edit | edit source]
- SpawnItem
- Spawns an extra gas can, which will always respawn in addition to the original one.
- TurnGlowsOn
- Sets Glow State to ON.
- TurnGlowsOff
- Sets Glow State to OFF.
Outputs[edit | edit source]
- OnItemPickedUp
- Fires when the can is picked up.