Originally Posted by
Razmataz
If possible, could you show me to how only play the intro and outro cinematics on a command like -lk start?
On line 54 change it from:
Code:
function TirionFordring_OnSpawn(pUnit, Event)
pUnit:RegisterEvent("TirionFordring_OnSpawn_Go", 5000, 0)
end
To:
Code:
function TirionFordring_OnSpawn(pUnit, Event)
Tirion = pUnit
pUnit:RegisterEvent("TirionFordring_OnSpawn_Go", 5000, 0)
end
Then add this at bottom of the script:
Code:
function zzz_OnChat(event, plr, message, type, language)
local message = string.lower(message)
if (message == "#startlk") then
if Lich ~= nil and Tirion ~= nil then
Tirion:PlaySoundToSet(17458)
Tirion:RemoveEvents() -- Stop repeating
Lich:RemoveEvents()
Lich:MoveTo(461.47, -2123.73, 1572.1, 0)
Tirion:Emote(375, 60000)
Tirion:PlaySoundToSet(17349) -- pUnit since players are closer to him
Lich:SendChatMessage(14, 0, "So...the Light's vaunted justice has finally arrived. Shall I lay down Frostmourne and throw myself at your mercy, Fordring?")
Tirion:RegisterEvent("TirionFordring_OnSpawn_Goz", 13500, 1)
end
end
if (message == "#endlk") then
if Lich ~= nil and Tirion ~= nil then
Count = 0
Phase = 0
Lich:RemoveEvents()
Tirion:RemoveEvents()
Lich:SendChatMessage(14,0,"You gnats actually hurt me! Perhaps I've toyed with you long enough, now taste the vengeance of the grave!")
Lich:PlaySoundToSet(17359)
Lich:MoveTo(512.7, -2120.5, 1572.1, 0)
Lich:SetMovementFlags(1)
Lich:SetCombatCapable(1)
Lich:RegisterEvent("hhTest_Debug_MoveToCentreOfRoom", 100, 0)
Lich:RegisterEvent("hggzhTest_Debug_MoveToCentreOfRoom_z", 5005, 1)
end
end
end
RegisterServerHook(16, "zzz_OnChat")
And then you can use #startlk and #endlk. 
Or I just made it into one script for you because I'm awesome like that:
Lua | ------------------------------ - Stoneharry - feMa6AD1 - Pastebin.com