Env muzzleflash

From Valve Developer Community
Revision as of 14:38, 7 September 2018 by Pinsplash (talk | contribs) (→‎Inputs: sorry about the spam on RecentChanges)
Jump to navigation Jump to search
English (en)Translate (Translate)

Template:Hl2 point This is an entity that creates the effect of flames leaving a guns barrel when fires. This entity is useful when making your own custom-made turrets or weapons to add a realistic flame effect. Unlike env_gunfire, this does not make any bullet effects or sound.

C++ In code, it is represented by theCEnvMuzzleFlashclass, defined in theeffects.cppfile.

Keyvalues

Parent Attachment (parentattachment) ([todo internal name (i)]) <string>
The name of an attachment on the parent to hierarchically attach to.
Scale (scale) ([todo internal name (i)]) <float>
Size of the muzzle flash.


Inputs

Fire
Fires the effect once.


Outputs