Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
env_muzzleflash
![Underlinked - Logo.png](/w/images/9/91/Underlinked_-_Logo.png)
This article needs more links to other articles to help integrate it into the encyclopedia. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
January 2024
![English (en) English (en)](/w/images/thumb/3/37/Flag-en.png/16px-Flag-en.png)
![Icon-translate.png](/w/images/thumb/b/b1/Icon-translate.png/12px-Icon-translate.png)
... ![Icon-Important.png](/w/images/thumb/5/5c/Icon-Important.png/10px-Icon-Important.png)
![Icon-Important.png](/w/images/thumb/5/5c/Icon-Important.png/10px-Icon-Important.png)
![]() |
---|
CEnvMuzzleFlash defined in ![]() effects.cpp
|
env_muzzleflash
is a point entity available in all Source games. 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.
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Parent Attachment
(parentattachment)
<string> - The name of an attachment on the parent to hierarchically attach to.
- Scale
(scale)
<float> - Size of the muzzle flash.
Inputs
Fire
- Fires the effect once.