Lankhmar_PRC8/_module/nss/walk_awy_grd_urc.nss

34 lines
689 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("Urchin2");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_PlazSewer")));
oTarget = GetObjectByTag("Urchin2");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("Urchin2");
DestroyObject(oTarget, 3.0);
oTarget = GetObjectByTag("lankhmarguard5");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_PlazSewer")));
oTarget = GetObjectByTag("lankhmarguard5");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("lankhmarguard5");
DestroyObject(oTarget, 3.0);
}