Thanks for the reply Tommy. I am currently using your template, it loads without problems however when I accept the quest the creature does not get spawned. Could the issue be that it does not select a map or zone? Or does it select the default (current) zone?
function AcceptQuest(event, player, creature, quest)
if (quest:GetId() == 783) then
creature:SpawnCreature(40, creature:GetX(-1017.955811), creature:GetY(-3049.391357), creature:GetZ(12.823728), 4.598485, 8, 60) -- NPCID, x, y, z, o, TEMPSUMMON, despawntimer
RegisterCreatureEvent(823, 31, AcceptQuest)