#include "x0_i0_partywide" void main() { object oTarget; object oSpawn; object oPC = GetPCSpeaker(); // Give 5 experience (to party) to the PC. GiveXPToAll(oPC, 5); SetLocalString(oPC, "trentor", "1"); FadeToBlack(oPC); FadeFromBlack(oPC); // Spawn "trentor". oTarget = GetWaypointByTag("WP_SPn_trentor"); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "trentor", GetLocation(oTarget)); }