Script Issue menu

Shout-Out

User Tag List

Thread: Script Issue

Results 1 to 4 of 4
  1. #1
    EmuSerry's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Script Issue

    Hey anynoe that could tell me WHY this wont work, Im tapped out of ideas.


    Code:
    function TestBoss_EnterCombat (pUnit, event)
             pUnit:RegisterEvent("TestBoss_Growth", 4000, 0)
             pUnit:RegisterEvent("TestBoss_Phase2", 1000, 0)
    end
    
    function TestBoss_Growth (pUnit, event)
             pUnit:CastSpell(41953, pUnit:GetClosestPlayer())
    end
    
    function TestBoss_Phase2 (pUnit, event)
          if pUnit:GetHealthPct() < 40 then
             pUnit:RemoveEvents()        
             pUnit:RegisterEvent("TestBoss_Icebolt", 11000, 0)
      end
    end
    
    function TestBoss_Icebolt (pUnit, event)
             pUnit:FullCastSpellOnTarget(31249, pUnit:GetMainTank())
    end
    
    function TestBoss_LeaveCombat (pUnit, event)
             pUnit:RemoveEvents()
    end
    
    function TestBoss_Die (pUnit, event)
             pUnit:RemoveEvents()
    end
    
    RegisterUnitEvent(180011, 1, "TestBoss_EnterCombat")
    RegisterUnitEvent(180011, 2, "TestBoss_LeaveCombat")
    RegisterUnitEvent(180011, 4, "TestBoss_Die")
    all help is appreacited, ty very much

    Script Issue
  2. #2
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there any errors in the console?

  3. #3
    EmuSerry's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nope no errors, not sure whats going on

  4. #4
    EmuSerry's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WOW! lmao, another silly mistake, I had the wrong spawn for the mob in there, hahaha sorry and ty for the help +rep comin Sound

Similar Threads

  1. Quest Script Issue!
    By Eleky in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 06-14-2009, 07:10 AM
  2. Taxi Scripting issue, and public Connection issue.
    By pandasoup12 in forum WoW EMU Questions & Requests
    Replies: 9
    Last Post: 03-29-2009, 08:09 PM
  3. Lua issue ( hide seek script)
    By zozoka in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 09-30-2008, 04:24 PM
  4. Lua scripting Issue
    By jbryan9184 in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 07-05-2008, 04:16 PM
  5. LUA STealth Script Issue
    By Lakotaness in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 06-17-2008, 01:22 AM
All times are GMT -5. The time now is 07:35 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