Boss Script Problem! menu

User Tag List

Results 1 to 4 of 4
  1. #1
    wour55's Avatar Private
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Boss Script Problem!

    Wazzup!

    I got this problem with my script, I can get it work ;(

    Code:
    function Creature_OnCombat(Unit, Event)
                      Unit:SendChatMessage(14, 0, "I will put an end to you, mortal!")
    end
    
    function Creature_Combat(Unit, Event)
    	Unit:RegisterEvent("RootEnemies", 500, 1)
    end
    
    function RootEnemies(Unit, Event)
    	Unit:FullCastSpellOnTarget(15474, Unit:GetClosestPlayer())
    end
    
    function Creature_Com(Unit, Event)
    	Unit:RegisterEvent("AoE", 600, 1)
    end
    
    function AoE(Unit, Event)
    	Unit:CastSpellOnTarget(74274, Unit:GetRandomPlayer(7)
    end
    
    function Creature_OnLeaveCombat(Unit, Event)
    	Unit:RemoveEvents()
    end
    
    function Creature_OnDied(Unit, Event)
    	Unit:RemoveEvents()
    end
    
    
    RegisterUnitEvent(370010, 1, "Creature_OnCombat")
    RegisterUnitEvent(370010, 1, "Creature_Combat")
    RegisterUnitEvent(370010, 1, "Creature_Com")
    RegisterUnitEvent(370010, 2, "Creature_OnLeaveCombat")
    RegisterUnitEvent(370010, 4, "Creature_OnDied")
    Right, I want the boss to say: I will put an end to you, mortal!
    Cast a web over on the players and then do remorseless winter.

    You've seen my try at scripting it. ;/

    //Wille ;D

    Boss Script Problem!
  2. #2
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function Creature_OnCombat(Unit, Event)
    	Unit:SendChatMessage(14, 0, "I will put an end to you, mortal!")
    	Unit:FullCastSpellOnTarget(15474, Unit:GetClosestPlayer())
    	Unit:CastSpellOnTarget(74274, Unit:GetRandomPlayer(7)
    end
    
    function Creature_OnLeaveCombat(Unit, Event)
    	Unit:RemoveEvents()
    end
    
    function Creature_OnDied(Unit, Event)
    	Unit:RemoveEvents()
    end
    
    
    RegisterUnitEvent(370010, 1, "Creature_OnCombat")
    RegisterUnitEvent(370010, 2, "Creature_OnLeaveCombat")
    RegisterUnitEvent(370010, 4, "Creature_OnDied")

  3. #3
    wour55's Avatar Private
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you! Rly had a prob with this xD

    ---------- Post added at 06:28 PM ---------- Previous post was at 06:17 PM ----------

    Originally Posted by P1raten View Post
    Code:
    function Creature_OnCombat(Unit, Event)
    	Unit:SendChatMessage(14, 0, "I will put an end to you, mortal!")
    	Unit:FullCastSpellOnTarget(15474, Unit:GetClosestPlayer())
    	Unit:CastSpellOnTarget(74274, Unit:GetRandomPlayer(7)
    end
    
    function Creature_OnLeaveCombat(Unit, Event)
    	Unit:RemoveEvents()
    end
    
    function Creature_OnDied(Unit, Event)
    	Unit:RemoveEvents()
    end
    
    
    RegisterUnitEvent(370010, 1, "Creature_OnCombat")
    RegisterUnitEvent(370010, 2, "Creature_OnLeaveCombat")
    RegisterUnitEvent(370010, 4, "Creature_OnDied")
    ;S still not working ;(

  4. #4
    Mildan's Avatar Member
    Reputation
    10
    Join Date
    Feb 2009
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you saving it as a .lua file?
    Are you sure you're putting it into the right folder?
    Are you sure your boss is registered as 370010?

    If not then try above to fix it.

Similar Threads

  1. [C++ Script] Oregon core boss script problems
    By gillisrofl in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 02-22-2012, 03:06 AM
  2. [Lua Script] Boss Script problem
    By Myuu in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 01-05-2012, 01:00 PM
  3. [C++ Script] Boss script problem
    By marksman726lul in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 07-10-2011, 12:42 AM
  4. Problem with lua boss script
    By nickeg in forum WoW EMU Questions & Requests
    Replies: 13
    Last Post: 08-16-2008, 09:22 AM
  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 05:09 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