[HELP] My script dosnt work =( +rep for help menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [HELP] My script dosnt work =( +rep for help

    Code:
    function Traxxas_Phase1(Unit, event)
     if Unit:GetHealthPct() < 80 then
      Unit:RemoveEvents()
      Unit:SendChatMessage(12, 0, "Time to die!")
      Unit:SetModel(762)
      Unit:SetScale(5)
      Unit:CastSpell(41232)
      Unit:RegisterEvent("Traxxas_Stomp",8000, 0)
      Unit:RegisterEvent("Traxxas_Phase2",3000, 0)
     end
    end
     
    function Traxxas_Phase2(Unit, event)
     if Unit:GetHealthPct() < 70 then
      Unit:RemoveEvents()
                              Unit:SendChatMessage(12, 0, "Oh im geting bigger now!")
      Unit:SetModel(16292)
      Unit:SetScale(7)
      Unit:CastSpell(41232)
      Unit:RegisterEvent("Traxxas_Whirlwind",8000, 0)
      Unit:RegisterEvent("Traxxas_Phase3",3000, 0)
     end
    end
     
    function Traxxas_Phase3(Unit, event)
     if Unit:GetHealthPct() < 60 then
      Unit:RemoveEvents()
      Unit:SendChatMessage(12, 0, "What now ?")
      Unit:SetModel(20931)
      Unit:SetScale(6)
      Unit:CastSpell(41232)
      Unit:RegisterEvent("Traxxas_Whirlwind",10000, 0)
      Unit:RegisterEvent("Traxxas_Phase4",3000, 0)
     end
    end
     
    function Traxxas_Phase4(Unit, event)
     if Unit:GetHealthPct() <= 50 then
      Unit:RemoveEvents()
      Unit:SetScale(5)
      Unit:SetModel(20918)
      Unit:CastSpell(41232)
      Unit:SendChatMessage(12, 0, "You shall all pay dearly!")
      Unit:RegisterEvent("Traxxas_Whirlwind",8000, 0)
      Unit:RegisterEvent("Traxxas_Phase5",1000, 0)
     end
    end
     
    function Traxxas_Phase5(Unit, event)
     if Unit:GetHealthPct() <= 40 then
      Unit:RemoveEvents()
      Unit:SendChatMessage(12, 0, "Did u lose life?")
      Unit:SetScale(4)
      Unit:CastSpell(39676)
      Unit:RegisterEvent("Traxxas_Phase6",7000, 0)
      
    function Traxxas_OnCombat(Unit)
     Unit:CastSpell(41431)
                 Unit:SendChatMessage(11, 0, "Think u can kill me ? well u can try!")
    end
     
    function Traxxas_OnKilledTarget(Unit)
     Unit:SendChatMessage(11, 0, "Fell my Whirlwind!")
     Unit:CastSpell(36981)
    end
     
    function Traxxas_OnKilledTarget(Unit)
     Unit:SendChatMessage(12, 0, "Did u came here to die ?")
    end
     
    function Traxxas_onCombat (pUnit, Event)
     pUnit:PlaySoundToSet (5860)
    end
     
    RegisterUnitEvent(1300028, 1, "Traxxas_OnCombat")
    RegisterUnitEvent(1300028, 2, "Traxxas_OnLeaveCombat")
    RegisterUnitEvent(1300028, 3, "Traxxas_OnKilledTarget")
    RegisterUnitEvent(1300028, 4, "Traxxas_Death")
    Last edited by Summer; 03-13-2008 at 12:18 AM.

    [HELP] My script dosnt work =( +rep for help
  2. #2
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    make it color i can see

  3. #3
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol sorry dident know how to do that

  4. #4
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    should be pUnit instead of just Unit

  5. #5
    EmuX's Avatar Active Member
    Reputation
    29
    Join Date
    Feb 2008
    Posts
    172
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here you go try this:

    Code:
    function Traxxas_Phase1(pUnit, event) if
     pUnit:GetHealthPct() < 80 then pUnit:RemoveEvents()
     pUnit:SendChatMessage(12, 0, "Time to die!")
     pUnit:SetModel(762) pUnit:SetScale(5)
     pUnit:CastSpell(41232)
     pUnit:RegisterEvent("Traxxas_Stomp",8000, 0)
     pUnit:RegisterEvent("Traxxas_Phase2",3000, 0)
      end
    end
     
    function Traxxas_Phase2(pUnit, event)
     if pUnit:GetHealthPct() < 70 then
      pUnit:RemoveEvents()
                              pUnit:SendChatMessage(12, 0, "Oh im geting bigger now!")
      pUnit:SetModel(16292)
      pUnit:SetScale(7)
      pUnit:CastSpell(41232)
      pUnit:RegisterEvent("Traxxas_Whirlwind",8000, 0)
      pUnit:RegisterEvent("Traxxas_Phase3",3000, 0)
     end
    end
     
    function Traxxas_Phase3(pUnit, event)
     if pUnit:GetHealthPct() < 60 then
      pUnit:RemoveEvents()
      pUnit:SendChatMessage(12, 0, "What now ?")
      pUnit:SetModel(20931)
      pUnit:SetScale(6)
      pUnit:CastSpell(41232)
      pUnit:RegisterEvent("Traxxas_Whirlwind",10000, 0)
      pUnit:RegisterEvent("Traxxas_Phase4",3000, 0)
     end
    end
     
    function Traxxas_Phase4(pUnit, event)
     if Unit:GetHealthPct() <= 50 then
      pUnit:RemoveEvents()
      pUnit:SetScale(5)
      pUnit:SetModel(20918)
      pUnit:CastSpell(41232)
      pUnit:SendChatMessage(12, 0, "You shall all pay dearly!")
      pUnit:RegisterEvent("Traxxas_Whirlwind",8000, 0)
      pUnit:RegisterEvent("Traxxas_Phase5",1000, 0)
      end
     end
     
    function Traxxas_Phase5(pUnit, event)
     if pUnit:GetHealthPct() <= 40 then
      pUnit:RemoveEvents()
      pUnit:SendChatMessage(12, 0, "Did u lose life?")
      pUnit:SetScale(4)
      pUnit:CastSpell(39676)
      pUnit:RegisterEvent("Traxxas_Phase6",7000, 0)
      end
    end
      
    function Traxxas_OnCombat(pUnit)
     pUnit:CastSpell(41431)
                 pUnit:SendChatMessage(11, 0, "Think u can kill me ? well u can try!")
    end
     
    function Traxxas_OnKilledTarget(Unit)
     pUnit:SendChatMessage(11, 0, "Fell my Whirlwind!")
     pUnit:CastSpell(36981)
    end
     
    function Traxxas_OnKilledTarget(pUnit)
     pUnit:SendChatMessage(12, 0, "Did u came here to die ?")
    end
     
    function Traxxas_onCombat (pUnit, Event)
     pUnit:PlaySoundToSet (5860)
    end
     
    RegisterUnitEvent(1300028, 1, "Traxxas_OnCombat")
    RegisterUnitEvent(1300028, 2, "Traxxas_OnLeaveCombat")
    RegisterUnitEvent(1300028, 3, "Traxxas_OnKilledTarget")
    RegisterUnitEvent(1300028, 4, "Traxxas_Death")

  6. #6
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx will try it now

  7. #7
    EmuX's Avatar Active Member
    Reputation
    29
    Join Date
    Feb 2008
    Posts
    172
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    did it work?

  8. #8
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm not 100% he dosent change form or scale :S

  9. #9
    waggy420's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Punit =/ im not positive but i think there is a format problem

  10. #10
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nvm its working now =)


    (Ps. EmuX your thing dident work for me)

  11. #11
    ~ViVo~'s Avatar Banned
    Reputation
    52
    Join Date
    Feb 2008
    Posts
    560
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have trouble getting my LUA's working also.. :*(

  12. #12
    Knife's Avatar Member
    Reputation
    44
    Join Date
    Dec 2007
    Posts
    254
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whats your problem vivo?
    Use the "Search" Button, its not hard
    +RepEveryone who helps and contributes


  13. #13
    ~ViVo~'s Avatar Banned
    Reputation
    52
    Join Date
    Feb 2008
    Posts
    560
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not quite sure.. Here
    I know theres no p Before unit, But I don't think thats the case..

    Code:
    functin Vivoxity_Phase6(Unit, Event)
    if Unit:GetHealthPct() <5 then
    RemoveEvents()
    Unit:SendChatMessage(12, 0, "I Will take you with me!"
    Unit:RegisterEvent(Vivoxity_Hex of Weakness",1000,0)
    Unit:RegisterEvent(Vivoxity_ShadowBolt",5000,0)
    Unit:RegisterEvent:SetScale(8)
    end
    end
    
    function Vivoxity_ShadowBolt(Unit)
    Unit:CastSpellOntarget(11661, Unit:GetRandomPlayer(0))
    end
    
    function Vivoxity_Hex of Weakness(Unit)
    Unit:CastSpellOntarget(19285, Unit:GetRandomPlayer(0))
    end
    
    functino Vivoxity_Phase5(Unit, Event)
    if Unit:GetHealthPct() <30 then
    RemoveEvents()
    Unit:SendChatMessage(12, 0, "You will never win!"
    Unit:RegisterEvent(Vivoxity_Hex of Weakness",5000,0)
    Unit:RegisterEvent(Vivoxity_ShadowBolt",6000,0)
    Unit:RegisterEvent:SetScale(3)
    end
    end
    
    function Vivoxity_ShadowBolt(Unit)
    Unit:CastSpellOntarget(11661, Unit:GetRandomPlayer(0))
    end
    
    function Vivoxity_Hex of Weakness(Unit)
    Unit:CastSpellOntarget(19285, Unit:GetRandomPlayer(0))
    end
    
    functino Vivoxity_Phase4(Unit, Event)
    if Unit:GetHealthPct() <30 then
    RemoveEvents()
    Unit:SendChatMessage(12, 0, "I SHALL PREVAIL!"
    Unit:RegisterEvent(Vivoxity_Hex of Weakness",5000,0)
    Unit:RegisterEvent:SetScale(2)
    end
    end
    
    function Vivoxity_ShadowBolt(Unit)
    Unit:CastSpellOntarget(11661, Unit:GetRandomPlayer(0))
    end
    
    function Vivoxity_Hex of Weakness(Unit)
    Unit:CastSpellOntarget(19285, Unit:GetRandomPlayer(0))
    end
    
    functino Vivoxity_Phase3(Unit, Event)
    if Unit:GetHealthPct() <40 then
    RemoveEvents()
    Unit:SendChatMessage(12, 0, "Lets make this fun!"
    Unit:RegisterEvent(Vivoxity_ShadowBolt",6000,0)
    Unit:RegisterEvent:SetScale(6)
    end
    end
    
    function Vivoxity_ShadowBolt(Unit)
    Unit:CastSpellOntarget(11661, Unit:GetRandomPlayer(0))
    end
    
    function Vivoxity_Hex of Weakness(Unit)
    Unit:CastSpellOntarget(19285, Unit:GetRandomPlayer(0))
    end
    
    function Vivoxity_Phase2(Unit, Event)
    if Unit:GetHealthPct() < 75 then
    RemoveEvents()
    Unit:SendChatMessage(11, 0, "Lets try something else?")
    Unit:CastSpell(11661)
    end
    end
    
    function Vivoxity_ShadowBolt(Unit)
    Unit:CastSpellOntarget(11661, Unit:GetRandomPlayer(0))
    end
    
    function Vivoxity_Hex of Weakness(Unit)
    Unit:CastSpellOntarget(19285, Unit:GetRandomPlayer(0))
    end
    
    function Vivoxity_OnCombat(Unit, Event)
    Unit:SendChatMessage(12, 0, "Vivoxity Shall DESTROY you!")
    Unit:RegisterEvent("Vivoxity_ShadowBolt",10000,0)
    Unit:RegisterEvent("Vivoxity_Phase2",1000,0)
    end
    
    function Vivoxity_OnLeaveCombat(Unit, Event)
    Unit:SendChatMessage(12, 0, "You have failed to defeat me!")
    Unit:RemoveEvents()
    end
    
    function Vivoxity_OnKilledTarget(Unit, Event)
    Unit:SendChatMessage(11, 0, "One down for the count! Now, To Increase my strength!")
    Unit:RegisterEvent:SetScale(4)
    end
    
    function Vivoxity_OnDied(Unit, Event)
    Unit:SendChatMessage(11, 0, "I..can't believe I lost!")
    Unit:RemoveEvents()
    end
    
    RegisterUnitEvent(870050, 1, "Vivoxity_OnCombat")
    RegisterUnitEvent(870050, 2, "Vivoxity_OnLeaveCombat")
    RegisterUnitEvent(870050, 3, "Vivoxity_OnKilledTarget")
    RegisterUnitEvent(870050, 4, "Vivoxity_OnDied")
    RegisterUnitEvent(870050, 5, "Vivoxity_ShadowBolt
    RegisterUnitEvent(870050, 6, "Vivoxity_Hex of Weakness
    :yuck:

  14. #14
    Knife's Avatar Member
    Reputation
    44
    Join Date
    Dec 2007
    Posts
    254
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are a lot of errors, im fixing them now, trying to fix them :P
    Use the "Search" Button, its not hard
    +RepEveryone who helps and contributes


  15. #15
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is it any lua script's that make the Mob (Boss ) say Im targeting you (The one he target name) and i want him to target new one's and say the same thing whit random ppl like . Im tareting you Traxxas!. then next time he make the spell he take's a new target and say . Im targeting you (New target's name)!
    Last edited by Summer; 03-13-2008 at 07:09 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. [HELP] Crazy stretched model error! (+rep for working answer)
    By linkfreak64 in forum WoW ME Questions and Requests
    Replies: 6
    Last Post: 12-13-2009, 10:25 AM
  2. Script for spawning npc? +rep for who helps
    By lethalllama in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 08-23-2008, 02:35 AM
  3. [Help] ArcEmu problem. +rep for help that works
    By Etzzhy in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 07-08-2008, 05:38 AM
  4. [HELP] Scripting +rep for help
    By Summer in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-13-2008, 09:30 PM
  5. Replies: 10
    Last Post: 05-07-2007, 01:16 PM
All times are GMT -5. The time now is 05:23 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