void main() { object oTarget; object oSpawn; // Get the PC who is in this conversation. object oPC = GetPCSpeaker(); SetLocalString(oPC, "mnitae", "1"); // Spawn "mainnitae". oTarget = GetWaypointByTag("WP_SPn_mainnitae"); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "mainnitae", GetLocation(oTarget)); }