EffectSystem

Documents the EffectSystem class and its functions.

triangle-exclamation

Invoking EffectSystem

To invoke the effect system, use the following Global function:

efs = Game.EffectSystem()

Sub-functions

CreateEffect

CreateEffect(definition : EffectRef, instigator : ref:Entity, optional weapon : ref:Entity) : ref:EffectInstance;

CreateEffectStatic

CreateEffectStatic(effectName : CName, effectTag : CName, instigator : ref:Entity, optional weapon : ref:Entity) : ref:EffectInstance;

PreloadStaticEffectResources

PreloadStaticEffectResources(effectName : CName, effectTag : CName);

ReleaseStaticEffectResources

ReleaseStaticEffectResources(effectName : CName, effectTag : CName);

Last updated