Weapon gascan: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (→‎See also: Unicodifying, replaced: See Also → See also)
Line 7: Line 7:
{{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.}}}}
{{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.}}}}


== See Also ==
== See also ==
* [[weapon_gascan_spawn]]
* [[weapon_gascan_spawn]]
* [[prop_physics]]
* [[prop_physics]]

Revision as of 02:16, 9 January 2024

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 an e0 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