From Mod Wiki
Revision as of 11:49, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


string key -- Key to look up the effect from.
string surfacetype -- surfaceType to look up any special effect from.
vector origin -- Origin to play the effect at in world space.
vector forward -- Forward vector to orientate the effect with in world space.
boolean loop -- Whether the effect should be once only, or loop.
float maxVisDist -- Maximum distance the effect will be visible from.
boolean isStatic -- Whether the particle effect is static or not



Supported By



  • The key must start with 'fx_'.


Looks up an effect on the entity and plays it at the specified position in the world, and returns a handle to the effect. If a special version matching that of the surfaceType passed is found, that will be played, otherwise the exact key name will be used.