void main(){// Get the creature who triggered this event.object oPC = GetEnteringObject();// Only fire for (real) PCs.if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )return;// Remove all effects of a specified type.RemoveSpecificEffect(EFFECT_TYPE_MOVEMENT_SPEED_DECREASE, oPC);}
Hi, I have created this script with "generator" script but RemoveSpecificEffect function does not seem to exist anymore, how to achieve the desired effect?
Thanks for your help.





Retour en haut






