PRC8/trunk/scripts/wol_a_exit.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

25 lines
542 B
Plaintext

// For trigger exits
void main()
{
object oPC = GetExitingObject();
object oTrigger = OBJECT_SELF;
string sTag = GetTag(oTrigger);
if (GetIsPC(oPC))
{
if (sTag == "wol_a_bbbcreek")
{
effect eAOE = GetFirstEffect(oPC);
while(GetIsEffectValid(eAOE))
{
if(GetEffectTag(eAOE) == "BBBCreek")
RemoveEffect(oPC, eAOE);
// Get next effect on the target
eAOE = GetNextEffect(oPC);
}// end while - Effect loop
}
}
}