#include "x0_i0_partywide" void main() { object oTarget; object oSpawn; location lTarget; object oPC = GetPCSpeaker(); // Give 10 experience (to party) to the PC. GiveXPToAll(oPC, 10); oTarget = GetWaypointByTag("WP_Spn_Piert"); lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "piert", lTarget); }