Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
14
_module/nss/p2_safepoint.nss
Normal file
14
_module/nss/p2_safepoint.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
void main()
|
||||
{
|
||||
object oNPC;
|
||||
|
||||
oNPC = GetEnteringObject();
|
||||
|
||||
if (GetTag(oNPC) == "p2_villager1" || GetTag(oNPC) == "p2_villager2" || GetTag(oNPC) == "p2_villager3")
|
||||
{
|
||||
AssignCommand(oNPC,ClearAllActions());
|
||||
AssignCommand(oNPC,SpeakString("I'm safe! Thank you!"));
|
||||
RemoveHenchman(GetMaster(oNPC),oNPC);
|
||||
SetLocalInt(oNPC,"Free",1);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user