Env sporeexplosion

From Valve Developer Community
Revision as of 08:57, 17 September 2018 by Pinsplash (talk | contribs) (this entity is available in every game, probably because it's simply gone unnoticed.)
Jump to navigation Jump to search
English (en)Translate (Translate)
Example with Spawn Rate set to 40.

Template:Base point It's purely cosmetic bugbait spore effect. If you want something that antlions will react to, see npc_grenade_bugbait or ai_sound. It's unknown why this is available in anything except Half-Life 2.

C++ In code, it is represented by theSporeExplosionclass, defined in thesmoke_trail.cppfile.

Keyvalues

Spawn Rate (as percentage) (spawnrate) ([todo internal name (i)]) <float>
How dense the spore effect is. This percentage is not bound to 100; even values in the thousands are acceptable.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).


Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.


Outputs