Lankhmar_PRC8/_module/nss/walk_away_quatc4.nss

26 lines
420 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 10 experience (to party) to the PC.
GiveXPToAll(oPC, 10);
oTarget = GetObjectByTag("Quatch2");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Quatch2b")));
oTarget = GetObjectByTag("Quatch2");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("Quatch2");
DestroyObject(oTarget, 3.0);
}