Weapon gascan: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{stub}} {{CD|CGasCan|CCarriedPropWeapon}} {{l4d series point|weapon_gascan}} == Outputs == {{IO|OnKilled|{{todo}} (the only entity in l4d2 that actually has this input)}}...")
 
m (Classifying as model entity)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}
{{stub}}
{{CD|CGasCan|CCarriedPropWeapon}}
{{ent not in fgd|nolink=1}}
{{l4d series point|weapon_gascan}}
{{CD|CGasCan}}
{{this is a|model entity|name=weapon_gascan|series=Left 4 Dead}}


== Outputs ==
== Outputs ==
{{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.}}}}


{{IO|OnKilled|{{todo}} (the only entity in l4d2 that actually has this input)}}


== See Also ==
<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 ==
* [[weapon_gascan_spawn]]
* [[weapon_gascan_spawn]]
* [[prop_physics]]
* [[prop_physics]]

Latest revision as of 04:36, 19 May 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 model 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