Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
17
trunk/scripts/wol_a_enter.nss
Normal file
17
trunk/scripts/wol_a_enter.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user