Changed folder name.
Changed folder name.
This commit is contained in:
19
_module/nss/ew_ani_reset.nss
Normal file
19
_module/nss/ew_ani_reset.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user