env_muzzleflash
Jump to navigation
Jump to search
Code classes:
CEnvMuzzleFlash
CPointEntity
CBaseEntity
(all ents)
env_muzzleflash
is a point entity present in all Source games. It creates particle effects that would normally come from a gun firing. This entity is useful when making your own custom-made turrets or weapons to add a flame effect. Unlike env_gunfire
, this does not make any bullet effects or sound.
Keyvalues[edit | edit source]
- Parent Attachment
(parentattachment)
<string>
- The name of an attachment on the parent to attach to.
- Scale
(scale)
<float>
- Size of the muzzle flash.
Inputs[edit | edit source]
- Fire
- Fires the effect once.