Code
type effect extends agent
type effecttype extends handle
constant native ConvertEffectType takes integer i returns effecttype
globals
constant effecttype EFFECT_TYPE_EFFECT = ConvertEffectType(0)
constant effecttype EFFECT_TYPE_TARGET = ConvertEffectType(1)
constant effecttype EFFECT_TYPE_CASTER = ConvertEffectType(2)
constant effecttype EFFECT_TYPE_SPECIAL = ConvertEffectType(3)
constant effecttype EFFECT_TYPE_AREA_EFFECT = ConvertEffectType(4)
constant effecttype EFFECT_TYPE_MISSILE = ConvertEffectType(5)
constant effecttype EFFECT_TYPE_LIGHTNING = ConvertEffectType(6)
endglobals
native SaveEffectHandle takes hashtable table, integer parentKey, integer childKey, effect whichEffect returns boolean
native LoadEffectHandle takes hashtable table, integer parentKey, integer childKey returns effect
native AddSpecialEffect takes string modelName, real x, real y returns effect
native AddSpecialEffectLoc takes string modelName, location where returns effect
native AddSpecialEffectTarget takes string modelName, widget targetWidget, string attachPointName returns effect
native DestroyEffect takes effect whichEffect returns nothing
native AddSpellEffect takes string abilityString, effecttype t, real x, real y returns effect
native AddSpellEffectLoc takes string abilityString, effecttype t,location where returns effect
native AddSpellEffectById takes integer abilityId, effecttype t,real x, real y returns effect
native AddSpellEffectByIdLoc takes integer abilityId, effecttype t,location where returns effect
native AddSpellEffectTarget takes string modelName, effecttype t, widget targetWidget, string attachPoint returns effect
native AddSpellEffectTargetById takes integer abilityId, effecttype t, widget targetWidget, string attachPoint returns effect
Про эффекттайпы.