PoA_PRC8/module/nss/getaway.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

19 lines
297 B
Plaintext

object oSelf = OBJECT_SELF;
//Put this script OnUsed
void main()
{
object oPC = GetLastUsedBy();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "secret1")== OBJECT_INVALID)
{
AssignCommand(oPC, ClearAllActions());
AssignCommand(oPC, ActionMoveAwayFromObject(oSelf));
}
}