Thanks alot it worked, but the first time after a server restart it stops at the same place where you answered me to do
Code:
LadyVespira:RegisterEvent(CinematicWithFitz4, 5000, 1)
The second time im trying to do this cinematic it goes perfect untill that point, she does continue but when "Lady Vespira" is supposed to walk up to "Stephanie Fitzpatrick" she stops in the middle of the walk and returns back to her spawn point, the third time it works perfect (just some minor bugs) but still if people want to kill this boss after a server restart they will be encountering 2 bugged npc's which doesnt make it look like an awesome boss, any suggestions?
Sorry for a double question but, how can I get a boss to do "Shadow Prison" (45922) on npc's?
Current (part of my) script:
Code:
function CinematicWithFitz3(pUnit, event)
pUnit:CancelSpell()
pUnit:RemoveEvents()
SetDBCSpellVar(45922, "c_is_flags", 0x01000)
SetDBCSpellVar(48864, "c_is_flags", 0x01000)
for a, plrs in pairs(pUnit:GetInRangePlayers()) do
plrs:SetPlayerLock(0)
plrs:CastSpell(45922)
plrs:CastSpell(48864)
local x, y, z, o = LadyVespira:GetX(), LadyVespira:GetY(), LadyVespira:GetZ(), LadyVespira:GetO()
LadyVespira:MoveTo(4506.507324, -2335.370117, 1138.052368, 4.499972)
LadyVespira:SendChatMessage(12, 0, "That was a threat, not a warning.")
LadyVespira:RegisterEvent(CinematicWithFitz4, 5000, 1)
end
function CinematicWithFitz4(pUnit, event)
LadyVespira:RegisterEvent("CinematicEnd1", 5000, 1)
StephanieFitzpatrick:SendChatMessage(12, 0, "I always knew you we're a piece of trash, you can't even do a fair fight with us.")
StephanieFitzpatrick:CastSpell(34648)
end
function CinematicEnd1(pUnit, event)
LadyVespira:MoveTo(255.325027, -99.952003, 18.679380, 3.161774)
LadyVespira:SendChatMessage(14, 0, "So if I understand this right, you want me to torcher you and kill you? I would love to do that.")
local x, y, z, o = LadyVespira:GetX(), LadyVespira:GetY(), LadyVespira:GetZ(), LadyVespira:GetO()
LadyVespira:MoveTo(4511.660156, -2301.169922, 1138.150024, 4.511810)
LadyVespira:RegisterEvent("CinematicEnd2", 9000, 1)
end
end
Regards, Uppercutter