Weapon gascan: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
Line 6: Line 6:
== 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.}}}}
{{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.}}}}
<gallery mode = "traditional" caption="models/props_junk/gascan001a.mdl">
File:Props junk-gascan001a.jpg | (skin 0)
File:Props junk-gascan001a-skin1.jpg | (skin 1)
File:Props junk-gascan001a-skin2.jpg | (skin 2)
File:Props junk-gascan001a-skin3.jpg | (skin 3)
</gallery>


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

Revision as of 07:18, 3 August 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 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