[LUA] Simple Boss script menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    alj03's Avatar Contributor
    Reputation
    91
    Join Date
    Feb 2008
    Posts
    1,103
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got it working and all, but it doesnt say what it's ment to say when i enter combat. Also spells dont work..
    Last edited by alj03; 09-30-2008 at 02:01 AM.

    [LUA] Simple Boss script
  2. #17
    Devilsadvocate's Avatar Member
    Reputation
    70
    Join Date
    May 2008
    Posts
    254
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function XXX_FireBall(pUnit, Event) 
    pUnit:FullCastSpellOnTarget(31620, pUnit:GetRandomPlayer(7)) 
    end
    
    function XXX_FireVolley(pUnit, Event) 
    pUnit:CastSpell(37109, pUnit:GetRandomPlayer(0)) 
    end
    
    function XXX_Transform(pUnit, Event) 
    if pUnit:GetHealthPct() < 75 then 
    pUnit:RemoveEvents(); 
    pUnit:FullCastSpell(0)
    pUnit:SetModel(YYYY)
    end 
    end
    Ok correct me if i'm wrong seeing as im not a very advanced lua scripter but aren't these supposed to be registered via " pUnit:RegisterEvent("Event", Time, 0) ?" Otherwise how is the script gonna know when to call the functions?
    I'm not going to be releasing anything for a while. I'm back on retail for new content.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [2.4][LUA] The Boss Scripts!
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 30
    Last Post: 10-07-2008, 05:17 PM
  2. [HELP] Lua boss script not working-solutions?
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 03-21-2008, 08:19 AM
  3. LUA Boss Script
    By Lindoz12 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 03-04-2008, 02:45 PM
  4. LUA Boss Script Help
    By neurothymia in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-05-2008, 02:57 PM
  5. Lua Boss Script Problems!!
    By blah7 in forum World of Warcraft Emulator Servers
    Replies: 14
    Last Post: 01-22-2008, 08:59 PM
All times are GMT -5. The time now is 12:51 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