void main() { object oTarget; object oSpawn; location lTarget; object oPC = GetPCSpeaker(); oTarget = GetObjectByTag("citgate1"); AssignCommand(GetObjectByTag("duchalsguard"), SetFacingPoint(GetPosition(oTarget))); oTarget = GetObjectByTag("citgate1"); AssignCommand(oTarget, ActionOpenDoor(oTarget)); oTarget = GetWaypointByTag("WP_SPn_DuchGrd"); lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "duchal2", lTarget); oTarget = oSpawn; AssignCommand(oTarget, ActionStartConversation(oPC, "")); }