Originally Posted by
stoneharry
.npc spawn npcid
^
Should automatically stay saved, if not .npc spawn npcid 1
Do .npc info on a npc, the SQLID is the GUID of the creature - this is what identifies it from another. In a Lua script where you have the arguments (pUnit, Event), pUnit is a pointer to the guid of the unit.
I don't see MapID in the Quests structure from quickly looking, but the zoneID defines what it should display as in your quest log. If you put the ID of goldshire, then in your quests it will show:
- Goldshire
--- YourQuestHere
- Any Other Zones That Player Has Quests For
--- Those quests under tabs as well