GetEffectTag : Empty
badstrref
Member Posts: 124
Applying it:
Retrieving it :
effect eVis = EffectVisualEffect(GetRandomGlowAura()); TagEffect(eVis, "DOME_AURA"); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVis, oPC);
Retrieving it :
void RemoveEffectByTag(object oPC, string sTag) { effect eEffect = GetFirstEffect(oPC); while(GetIsEffectValid(eEffect )) { SpeakString(GetEffectTag(eEffect ), TALKVOLUME_SHOUT); // Empty if(GetEffectTag(eEffect ) == sTag) {RemoveEffect(oPC, eEffect);} eEffect = GetNextEffect(oPC); } }Anyone had more success than me using effect tags?
0
Comments
effect eVis = EffectVisualEffect(GetRandomGlowAura()); eVis = TagEffect(eVis, "DOME_AURA"); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVis, oPC);
Thank you!