[Guide] Creating a LUA bossfight! menu

User Tag List

Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 55
  1. #31
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yo, Gastric, still have plans to make the advanced version of this guide? If so, is there an ETA? Reeaaally looking forward to it. =D

    [Guide] Creating a LUA bossfight!
  2. #32
    glitch's Avatar Member
    Reputation
    1
    Join Date
    Nov 2006
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    full

    can somone PLEEAAASEE put what the script would look like when its done i dont know what i did wrong but the entry id isent working


    :function Boss_Phase1(Unit, event)
    if Unit:GetHealthPct() < 70 then
    end
    end
    function Boss_Phase1(Unit, event)
    if Unit:GetHealthPct() < 70 then
    Unit:CastSpell(33846)
    end
    end
    function Boss_Nova(Unit)
    Unit:CastSpell(33846)
    Unit:SendChatMessage(12, 0, "DIE!")
    end
    function Boss_Phase1(Unit, event)
    if Unit:GetHealthPct() < 70 then
    Unit:CastSpell(33846)
    Unit:RegisterEvent("Boss_Nova",10000, 0)
    end
    end
    function Boss_Phase2(Unit, event)
    if Unit:GetHealthPct() < 50 then
    Unit:RemoveEvents()
    end
    end
    function Boss_Phase2(Unit, event)
    if Unit:GetHealthPct() < 50 then
    Unit:RemoveEvents()
    Unit:CastSpell(23537)
    Unit:SendChatMessage(12, 0, "Omg no wait!")
    end
    end
    function Boss_Phase1(Unit, event)
    if Unit:GetHealthPct() < 70 then
    Unit:CastSpell(33846)
    Unit:RegisterEvent("Boss_Nova",10000, 0)
    Unit:RegisterEvent("Boss_Phase2",1000, 0)
    end
    end
    function Boss_OnCombat(Unit, event)
    Unit:RegisterEvent("Boss_Phase1",1000, 0)
    end
    RegisterUnitEvent(43901, 1, "Boss_OnCombat")::??

  3. #33
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For one, youve got 4 parts of phase 1 and two parts of phase 2 : /
    You could always look at my example bossfights.

    But ill post the ending result in a bit
    Life Puzzler WoW - Website | Forums

  4. #34
    Mahado's Avatar Member
    Reputation
    15
    Join Date
    Dec 2007
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, this is awesome guide!

  5. #35
    Mahado's Avatar Member
    Reputation
    15
    Join Date
    Dec 2007
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    function ValokP_Arcane1(Unit, event)
    Unit:CastSpell(40425)
    if Unit:GetHealthPct() < 95 then
    Unit:RegisterEvent("ValokP_Jorma",20000, 0)
    Unit:RegisterEvent("BossPP_Arcane2",1000, 0)
    end
    end

    function ValokP_Jorma(Unit)
    Unit:CastSpell(40425)
    Unit:SendChatMessage(12, 0, "I will take you down to the deepest pits of hell!")
    end

    function BossPP_Arcane2(Unit, event)
    if Unit:GetHealthPct() < 50 then
    Unit:RemoveEvents()
    Unit:CastSpell(29691)
    Unit:SendChatMessage(12, 0, "Now you got me angry!")
    end
    end

    function Boss_OnCombat(Unit, event)
    Unit:RegisterEvent("ValokP_Arcane1",1000, 0)
    end
    RegisterUnitEvent(555400, 1, "Boss_OnCombat")

    Sorry, got a little problem >.> Why does it keep spamming teh first skill until 50&#37; WITHOUT 20 sec breaks.
    Last edited by Mahado; 01-23-2008 at 05:14 PM.

  6. #36
    bill45's Avatar Member
    Reputation
    5
    Join Date
    Jan 2008
    Posts
    104
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good guide!

  7. #37
    Mahado's Avatar Member
    Reputation
    15
    Join Date
    Dec 2007
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, got it now ;P

  8. #38
    [Blackstorm]'s Avatar Contributor
    Reputation
    101
    Join Date
    Oct 2007
    Posts
    424
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Gastric, can you post the full example script...i want to see it all combined. Nice Guide xD, cant wait to start, though i would need a look at the full script. +rep


  9. #39
    sylv100's Avatar Member
    Reputation
    6
    Join Date
    Dec 2007
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice guide. But can you tell me how to make a boss summon a certain monster at a certain amount of hp?

  10. #40
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added a final product.
    Life Puzzler WoW - Website | Forums

  11. #41
    Arthas117's Avatar Knight-Champion
    Reputation
    151
    Join Date
    Mar 2007
    Posts
    483
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great guide soz i cant rep u anymore xD

    World best PvP Paladin=Me? GG ;D


  12. #42
    nerull8883's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome guide I have a question though, where are you learning LUA from? And is it possible to create scripts related to Items, GOs, etc. I'm fairly sure it is, a guide for that would be awesome :P

  13. #43
    plokami's Avatar Member
    Reputation
    14
    Join Date
    May 2007
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would like to thank you very much for this guide.I am making a private server and the files i got have no script so i wanted some help with this and u gave it to me

  14. #44
    adro701's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    very nice tutorial

  15. #45
    abndrew82's Avatar Active Member
    Reputation
    17
    Join Date
    Jan 2008
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Question on this, please

    I created an NPC to fight and set up the script

    It appears to call the script, but I dont seem to see any of hte spells I am telling it to cast

    I am using the same spell in every area, just to see if I can get anything to cast

    Not sure if I am using wrong spell ID but from my search 11702 should be a rank of Drain Life, but I never see this casted on me.

    Thanks for any help

    Here is the script in full

    Code:
    function phase_1(pUnit, Event)
     if pUnit:GetHealthPct() < 70 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(11702)
      pUnit:SendChatMessage(12, 0, "NOW TO START!")
      pUnit:RegisterEvent("phase_2",1000, 0)
     end
    end
     
    function phase_2(pUnit, Event)
     if pUnit:GetHealthPct() < 50 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(11702)
      pUnit:SendChatMessage(12, 0, "Drain Life!")
      pUnit:RegisterEvent("phase_3",1000, 0)
     end
    end
     
    function phase_3(pUnit, Event)
     if pUnit:GetHealthPct() < 30 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(11702)
      pUnit:SendChatMessage(12, 0, "NOOO I DONT WANNA DIE!")
     end
    end
     
    function boss_start(pUnit, Event)
     pUnit:RegisterEvent("phase_1",1000, 0)
    end
    RegisterUnitEvent(2, 1, "boss_start")
    The chat messages are a test only really, but they appear to be working

    the only issue I see if this spells.

    I also just tried

    FullCastSpellOnTarget(7641,unit:GetClosestPlayer()) from the Ascent Wiki Lua section

    But still did not see any of the nukes casted on myself
    Last edited by abndrew82; 02-06-2008 at 09:39 PM.

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [Guide] Create teleports
    By Respawn in forum WoW EMU Guides & Tutorials
    Replies: 12
    Last Post: 06-15-2008, 10:41 AM
  2. [Guide] Create a custom Portable Telerporter!
    By Murlock. in forum WoW EMU Guides & Tutorials
    Replies: 45
    Last Post: 04-02-2008, 02:41 PM
  3. [Guide] create your own island
    By kate1 in forum WoW EMU Guides & Tutorials
    Replies: 49
    Last Post: 02-24-2008, 02:09 PM
  4. [RELEASE] LUA Bossfight
    By Shao111 in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 01-23-2008, 03:03 PM
  5. [Guide] Creating and Compiling a Teleporter NPC
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 59
    Last Post: 10-29-2007, 03:06 PM
All times are GMT -5. The time now is 10:18 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search