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

17 lines
426 B
Plaintext

// For trigger enters
void main()
{
object oPC = GetEnteringObject();
if (!GetIsObjectValid(oPC)) oPC = GetLastUsedBy();
object oTrigger = OBJECT_SELF;
string sTag = GetTag(oTrigger);
if (GetIsPC(oPC))
{
if (sTag == "wol_a_bbbcreek")
{
ApplyEffectToObject(DURATION_TYPE_PERMANENT, TagEffect(EffectMovementSpeedDecrease(50), "BBBCreek"), oPC);
}
}
}