Env muzzleflash: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
(→‎Inputs: sorry about the spam on RecentChanges)
Line 11: Line 11:
==Inputs==
==Inputs==
{{IO|Fire|Fires the effect once.}}
{{IO|Fire|Fires the effect once.}}
{{I BaseEntity|base=1}}
{{I BaseEntity|base=1|prel4d=1}}


==Outputs==
==Outputs==
{{O BaseEntity}}
{{O BaseEntity}}

Revision as of 14:38, 7 September 2018

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