void main() { if (!GetIsPC(GetLastPerceived())) return; object npc = GetObjectByTag("DUNNARK"); if (GetLocalInt(npc, "dunspk")) return; DestroyObject(GetObjectByTag("DI1"),0.1); DestroyObject(GetObjectByTag("DI2"),0.1); SpeakString("Don't shoot! I'm coming out!"); AssignCommand(npc, ActionMoveToObject( GetLastPerceived(), TRUE, 25.0) ); SetLocalInt(npc, "dunspk", 1); npc = GetNearestObjectByTag("GarethIH"); AssignCommand(npc,SpeakString("What do we have here?")); ActionStartConversation(GetLastPerceived()); }