PoA_PRC8/_module/nss/ew_ani_reset.nss

20 lines
353 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
object oTarget = OBJECT_SELF;
SetCommandable(TRUE, oTarget);
AssignCommand(oTarget, ClearAllActions());
effect eFX = GetFirstEffect(oTarget);
while (GetIsEffectValid(eFX))
{
if(GetEffectType(eFX) == EFFECT_TYPE_VISUALEFFECT)
{
RemoveEffect(oTarget, eFX);
}
eFX = GetNextEffect(oTarget);
}
}