Weapon gascan: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (→‎Outputs: Substituted IO templates)
Line 5: Line 5:


== Outputs ==
== Outputs ==
{{IO|OnKilled|Fired when entity is killed. {{Note|In {{l4d2|4}} this is the only entity that has this output while in {{l4d|4}} every entity has this output available. This is either a bug or just coincidental output name. }}{{warning|In {{l4d2|4}} This fires only when gas can is killed by damaging it. Using Kill input or parenting it to another entity and killing that entity won't fire this output.}}}}
{{O|OnKilled|Fired when entity is killed. {{Note|In {{l4d2|4}} this is the only entity that has this output while in {{l4d|4}} every entity has this output available. This is either a bug or just coincidental output name. }}{{warning|In {{l4d2|4}} This fires only when gas can is killed by damaging it. Using Kill input or parenting it to another entity and killing that entity won't fire this output.}}}}





Revision as of 11:26, 21 April 2025

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CGasCan
CCarriedPropWeapon
CCarriedProp
CBaseBackpackItem
CTerrorWeapon
CWeaponCSBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity

weapon_gascan is a point entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series.

Outputs

OnKilled
Fired when entity is killed.
Note.pngNote:In Left 4 Dead 2 Left 4 Dead 2 this is the only entity that has this output while in Left 4 Dead Left 4 Dead every entity has this output available. This is either a bug or just coincidental output name.
Warning.pngWarning:In Left 4 Dead 2 Left 4 Dead 2 This fires only when gas can is killed by damaging it. Using Kill input or parenting it to another entity and killing that entity won't fire this output.


See also