Need LUA Scripting Help ? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need LUA Scripting Help ?

    Hey Guys

    If You Need LUA Help Put it Here im free to help ^^

    Edit: This has been changed to a help post Properly
    Last edited by Snailz; 02-18-2008 at 12:32 PM.
    Cheese Cake?

    Need LUA Scripting Help ?
  2. #2
    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)
    Code:
    function Boss_Phase5(Unit, event)
        if Unit:GetHealthPct() < 50 then
            Unit:RemoveEvents()
            Unit:SetScale(Scale here)
            Unit:SetModel(Model Id Here!)
            Unit:CastSpell(Spell id Here!)
            Unit:SendChatMessage(12, 0, "What you want him to say when hes about to die.")
            Unit:RegisterEvent("Boss_Phase5",1000, 0)        
    
        end
    end
    
    
    function boss_OnCombat(Unit, event)
        Unit:SendChatMessage(11, 0, "You've Come To Kill Me Ha!")
        Unit:RegisterEvent("Boss_Phase1",1000, 0)
        Unit:RegisterEvent("Boss_Phase2",1000, 0)
        Unit:RegisterEvent("Boss_Phase3",1000, 0)
        Unit:RegisterEvent("Boss_Phase4",1000, 0)
        Unit:RegisterEvent("Boss_Phase5",1000, 0)
    end
    These two functions will never work. You want it to keep registering the fifth phase every second?
    Life Puzzler WoW - Website | Forums

  3. #3
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh Yea forgot about that i usuly cut out that Pahse 5 registering is phase 5 :O When you cut that out it usuly works fine.
    Cheese Cake?

Similar Threads

  1. Lua Script Help and tips needed
    By digger514 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 10-05-2009, 08:41 AM
  2. Lua Script Help needed
    By denniskramer in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 11-29-2008, 07:04 PM
  3. LUA Script Help Thread
    By mager1794 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 07-04-2008, 12:46 AM
  4. LuA Scripting Help
    By Jlp in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 06-27-2008, 03:33 AM
  5. Lua script help and general questions from beginner
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-23-2008, 04:38 AM
All times are GMT -5. The time now is 09:30 AM. 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