Help on Kil'jaeden Script menu

User Tag List

Results 1 to 2 of 2
  1. #1
    methos0072001's Avatar Member
    Reputation
    3
    Join Date
    Dec 2007
    Posts
    57
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help on Kil'jaeden Script

    Heres a Kil'Jaeden script that I need fixed. I've done what I know to it but I cant seem to get the "phase_1" to work. He'll spawn, then say his speech, but then he moves which is another problem. He's supposed to say something at 99% but he fails to do so, along with all the following sequential phrases.

    So, in summary:

    He's moving (BAD)
    Anything after the initial phase does not work. (BAD)

    Here's the script

    Code:
    function Kil_EnterCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "The expendible have perished... So be it! Now I shall succeed where Sargeras could not! I will bleed this wretched world and secure my place as the true master of the Burning Legion. The end has come! Let the unraveling of this world commence!")
    pUnit:PlaySoundToSet(12527)
    pUnit:PlaySoundToSet(12500)
    pUnit:CastSpell(35177)
    pUnit:RegisterEvent(1000, 0, "phase_1")
    end
    
    function phase_1(pUnit, Event)
    if pUnit:GetHealthPct() < 99 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage(12, 0, "Chaos!")
    pUnit:CastSpellOnTarget(47248)
    pUnit:PlaySoundToSet(12505)
    pUnit:RegisterEvent(1000, 0, "phase_2")
    end
    end
    
    function phase_2(pUnit, Event)
    if pUnit:GetHealthPct() < 98 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage(12, 0, "Destruction!")
    pUnit:CastSpell(39023)
    pUnit:PlaySoundToSet(12506)
    pUnit:RegisterEvent(1000, 0, "phase_3")
    end
    end
     
    function phase_3(pUnit, Event)
    if pUnit:GetHealthPct() < 97 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage(12, 0, "Oblivion!")
    pUnit:PlaySoundToSet(12507)
    pUnit:CastSpell(38627)
    pUnit:CastSpell(38533)
    pUnit:CastSpell(38533)
    pUnit:CastSpell(38533)
    pUnit:RegisterEvent(1000, 0, "phase_4")
    end
    end
     
    function phase_4(pUnit, Event)
    if pUnit:GetHealthPct() < 50 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage(14, 0, "I will not be denied! This world shall fall!")
    pUnit:PlaySoundToSet(12508)
    pUnit:CastSpell(45664)
    pUnit:RegisterEvent(1000, 0, "phase_5")
    end
    end
     
    function phase_5(pUnit, Event)
    if pUnit:GetHealthPct() < 20 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage(14, 0, "Do not harbor false hope. You cannot win!")
    pUnit:PlaySoundToSet(12509)
    pUnit:CastSpell(40343)
    pUnit:CastSpell(38441)
    pUnit:CastSpell(512)
    pUnit:CastSpell(25442)
    pUnit:CastSpell(17668)
    pUnit:CastSpell(40876)
    pUnit:RegisterEvent (1000, 0, "phase_6")
    end
    end
    
    
    function phase_6(pUnit, Event)
    if pUnit:GetHealthPct() < 01 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage(14, 0, "Ragh! The powers of the Sunwell turn against me! What have you done? What have you done?!")
    pUnit:PlaySoundToSet(12510)
    pUnit:CastSpell(44998)
    pUnit:RegisterEvent(1000, 0, "phase_7")
    end
    end
    
    function phase_7(pUnit, Event)
    if pUnit:GetHealthPct() < 100 then
    pUnit:RemoveEvents();
    pUnit:CastSpell(46474)
    end
    end
    
    function boss_OnCombat(pUnit, Event)
    pUnit:StopMovement(0)
    pUnit:RegisterEvent("Kil_EnterCombat",1000, 1)
    end
    
    function boss_OnKilledTarget(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "Another step towards destruction!")
    pUnit:PlaySoundToSet(12501)
    pUnit:CastSpell(31972)
    end
    
    
    RegisterUnitEvent(25315, 1, "boss_OnCombat")
    RegisterUnitEvent(25315, 3, "boss_OnKilledTarget")

    Help on Kil'jaeden Script
  2. #2
    Ollox's Avatar Member
    Reputation
    5
    Join Date
    Oct 2007
    Posts
    122
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol, mine instance works but not kiljaeden himself i cant spawn him
    Last edited by Ollox; 08-19-2008 at 06:45 AM.
    Lua knowledge [||||||||||]

Similar Threads

  1. [Zofikazz Project] Kil'jaeden: Custom Encounter, Blizzlike Scripted!!!
    By Arthas117 in forum WoW EMU General Releases
    Replies: 55
    Last Post: 12-27-2008, 08:36 AM
  2. [LUA][SQL] Kil'jaeden Script
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 47
    Last Post: 06-21-2008, 10:51 AM
  3. [PTR 2.4] Kil'Jaeden, Phoenix Pet...
    By merfed in forum World of Warcraft Model Editing
    Replies: 18
    Last Post: 04-20-2008, 06:42 PM
  4. [Info] Zofikazz Repack 3.x: Return of Kil'Jaeden
    By Arthas117 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 02-12-2008, 07:42 AM
  5. {question} Alil help with the .M2 script for 3DS max
    By BH5432 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 01-17-2008, 07:55 PM
All times are GMT -5. The time now is 10:45 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search