Lankhmar_PRC8/_module/nss/walk_awy_alakbn.nss

40 lines
906 B
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);
oTarget = GetObjectByTag("Alakabon");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Alakabon")));
oTarget = GetObjectByTag("Alakabon");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("Alakabon");
DestroyObject(oTarget, 3.0);
oTarget = GetObjectByTag("Atya");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Alakabon")));
oTarget = GetObjectByTag("Atya");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("Atya");
DestroyObject(oTarget, 3.0);
oTarget = GetObjectByTag("AtyaGrd");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Alakabon")));
oTarget = GetObjectByTag("AtyaGrd");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("AtyaGrd");
DestroyObject(oTarget, 3.0);
}