Ar2explosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Preparing page for move. This action was perfomed by a bot.)
m (WisdomBot moved page Ar2explosion to Ar2explosion/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot.)
(No difference)

Revision as of 11:03, 12 January 2024

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.

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 Killing, 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.
Note.pngNote:This entity is also in the code for Portal Alien Swarm Portal 2. Its functionality is not guaranteed.


C++ In code, it is represented by theAR2Explosionclass, defined in thear2_explosion.cppfile.

Keyvalues

Inputs

Inputs