Hello Mmowned,
I recently created a small script. The transforming part works perfect but the demorphing doesn't. Any idea why, and if anymore could, could u add :PlaySpellVisual(guid, spell) to be cast onto the player by id: 93150 on the demorph. A spell i would like is like one with a green ray to it. Not too long though like 2 seconds long.
Script:
[spoiler]function OnFirstEnterWorld(event, pPlayer)
local race = pPlayer:GetPlayerRace()
if race == 5 then
pPlayer:SetModel(10979)
end
end
RegisterServerHook(3, "OnFirstEnterWorld")
function OnQuestFinished(event, pPlayer, questId, pQuestGiver)
if pPlayer:HasFinishedQuest(93150) then
pPlayer:DeMorph()
end
end
RegisterServerHook(22, "OnQuestFinished")[/spoiler]
Thanks