[Help] Need LUA help? Post here! menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wait so runiker your making a UI?


    [Help] Need LUA help? Post here!
  2. #17
    McMage's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Snailz View Post
    Mc Mage I would do it make this:

    Code:
    function Boss_Bolt (pUnit, Event)
        pUnit:CastSpell (Spell ID Here)
    
    function Boss_Bolt (pUnit, event)
        if pUnit:GetHealthPct() < 99 then
            pUnit:RemoveEvents()
            pUnit:RegisterEvent("Boss_Bolt",20000, 0)
    
        end
    end
    
    
    function Boss_OnCombat(pUnit, event)
        pUnit:RegisterEvent("Boss_Bolt",10000, 0)
    end
    
    RegisterpUnitEvent(6600002, 1, "Boss_OnCombat")
    Id Being 6600002 But im sure there is a easyer way...
    Thank you for taking the time to write this up, to be honest though I don't understand this at all. Is the ID 6600002 what is given the script the random?

  3. #18
    EcHoEs's Avatar lol why u mad
    Reputation
    374
    Join Date
    Sep 2006
    Posts
    1,646
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    McMage :
    Code:
    This one casts spell between 5 and 10 seconds
    function boss_randomspell(pUnit, Event)
    timer=math.random(5000, 10000)
    pUnit:FullCastSpell(ID)
    end
    
    This one casts spell1 if math.random returns under 1000 ms, if not it casts spell2
    function boss_randomspell2(pUnit, Event)
    timer=math.random(1000, 2000)
    if timer = < 1000 then
    pUnit:FullCastSpell(ID1)
    else
    pUnit:FullCastSpell(ID2)
    end
    end
    @ Runiker
    Im doing LUA help for Ascent scripts, not Addon stuff.


  4. #19
    McMage's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, sorry to take up your time.... /bow

  5. #20
    EcHoEs's Avatar lol why u mad
    Reputation
    374
    Join Date
    Sep 2006
    Posts
    1,646
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Np, glad to help you ^^


  6. #21
    Resike2's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any can help me with GetWorldStateUIInfo s returning in WSG? Dont know its returning a string a number 0/3 or 0 or 0\3?
    Tryd with this but seem not working.

    elseif (strfind(arg1,BG_CAPTURED)) then
    _, _, AllianceScore = GetWorldStateUIInfo(1);
    _, _, HordeScore = GetWorldStateUIInfo(2);
    if (AllianceScore == "0/3") then
    soundfile = soundfile..MyZone.."\\"..event.."_Takes_Lead";

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Helping you] Need a file scanned? post here!
    By bleaksoul123 in forum World of Warcraft General
    Replies: 0
    Last Post: 11-06-2008, 06:58 PM
  2. Need help wiht athenes method post here!
    By cooper101 in forum World of Warcraft Guides
    Replies: 14
    Last Post: 04-19-2008, 10:49 AM
  3. Need help emu help? post here
    By *Alexz* in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 02-26-2008, 07:43 PM
All times are GMT -5. The time now is 10:10 PM. 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