Changed folder name.
Changed folder name.
This commit is contained in:
18
_module/nss/getaway.nss
Normal file
18
_module/nss/getaway.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
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));
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user