Lankhmar_PRC8/_module/nss/walk_away_finok.nss

64 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
object oTarget;
int nInt;
object oPC = GetPCSpeaker();
// Give 5 experience (to party) to the PC.
GiveXPToAll(oPC, 5);
SetLocalString(oPC, "fnknd", "1");
oTarget = GetObjectByTag("Finok");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Finok")));
oTarget = GetObjectByTag("Finok");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("Finok");
DestroyObject(oTarget, 3.0);
oTarget = GetObjectByTag("SlayerThug43");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Finok")));
oTarget = GetObjectByTag("SlayerThug43");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("SlayerThug43");
DestroyObject(oTarget, 3.0);
oTarget = GetObjectByTag("Kalinen");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Finok")));
oTarget = GetObjectByTag("Kalinen");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("Kalinen");
DestroyObject(oTarget, 3.0);
oTarget = GetObjectByTag("SlayerThug767");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Finok")));
oTarget = GetObjectByTag("SlayerThug767");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("SlayerThug767");
DestroyObject(oTarget, 3.0);
oTarget = GetObjectByTag("EasternMercenary456");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Finok")));
oTarget = GetObjectByTag("EasternMercenary456");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("EasternMercenary456");
DestroyObject(oTarget, 3.0);
}