Ar2explosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in fgd}} {{hl2 point|a2_explosion}} It's the actual dust cloud generated by {{ent|env_ar2explosion}}. {{warning|Do not spawn these directly as they will not be rem...")
 
(updates. i *think* this one is complete but i'm not 100% sure. like 99.9%.)
Line 1: Line 1:
{{ent not in fgd}}
{{lang|Ar2explosion}}
{{hl2 point|a2_explosion}} It's the actual dust cloud generated by {{ent|env_ar2explosion}}.  
{{ent not in fgd|nolink=1}}
{{hl2 point|ar2explosion}} It's the actual dust cloud generated by an {{ent|env_ar2explosion}}. It's advised to not spawn these directly as they will not be removed automatically after the dust fully dissipates and will artificially increase the entity count. <code>env_ar2explosion</code> also gives more control over the dust cloud. You may still be able to do some things to ''this'' entity using methods such as {{ent|AddOutput}} (such as <code>Kill</code>, to immediately remove sprites).


{{warning|Do not spawn these directly as they will not be removed automatically when finished.}}
{{note|This entity spawns 10 {{ent|env_sprite}}s. These will remain after the dust is completely clear even if <code>env_ar2explosion</code> is used.}}


{{code class|AR2Explosion|ar2_explosion.cpp}}
{{code class|AR2Explosion|ar2_explosion.cpp}}
==Keyvalues==
{{KV BaseEntity|base=1}}
==Inputs==
{{I BaseEntity|base=1}}
==Inputs==
{{O BaseEntity}}

Revision as of 17:31, 4 September 2018

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.

Template:Hl2 point It's the actual dust cloud generated by an env_ar2explosion. It's advised to not spawn these directly as they will not be removed automatically after the dust fully dissipates and will artificially increase the entity count. env_ar2explosion also gives more control over the dust cloud. You may still be able to do some things to this entity using methods such as AddOutput (such as Kill, to immediately remove sprites).

Note.pngNote:This entity spawns 10 env_sprites. These will remain after the dust is completely clear even if env_ar2explosion is used.
C++ In code, it is represented by theAR2Explosionclass, defined in thear2_explosion.cppfile.

Keyvalues

Inputs

Inputs