function LordMarrowgar_OnSpawn(pUnit, event)
pUnit:RegisterEvent("Marrowgar.FirstEnter", 1000, 0)
end
function LordMarrowgar_FirstEnter(pUnit, event)
local player = pUnit:GetClosestPlayer()
if player ~= nil then
if LordMarrowgar:GetDistanceYards(player) <= 65 then
pUnit:RemoveEvents()
pUnit:PlaySoundToSet(16950)
pUnit:SendChatMessage(14, 0, "This is the beginning AND the end, mortals. None may enter the master's sanctum!")
end
end
end
RegisterUnitEvent(npcid, 18, "LordMarrowgar_OnSpawn")
Harry, do you have msn? I need to talk to you through it to ask some questions, Mey doesn't know a thing of what I'm talking about ^^'