[Help] i need Lua help with this script... menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] i need Lua help with this script...

    function phaseee_1(pUnit, Event)
    if pUnit:GetHealthPct() < 50 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage (11, 0, "You Gonna Die $N")
    pUnit:FullCastSpell(22427)
    end
    end

    function Rogue_start1(pUnit, Event)
    pUnit:RegisterEvent("phaseee_1",1000, 0)
    pUnit:FullCastSpell(10032)
    end
    RegisterUnitEvent(104, 6, "Rogue_start1")

    Only uber stealth work on and when it go to less than 50 it says only You Gonna Die (name)
    The spell 22427 is the warrior stun concublion blow or whatever is called..:P

    can u help me guyes on how to make it work?

    i just need that when this units go below 50 cast the stun to 1 player

    [Help] i need Lua help with this script...
  2. #2
    EcHoEs's Avatar lol why u mad
    Reputation
    374
    Join Date
    Sep 2006
    Posts
    1,647
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That isn't working?


  3. #3
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Youre registering Rogue_start1

    instead of phaseee_1 ..

    also But 1 instead of 6 ?

    also try Putting Unit:GetClosestPlayer(1) in the first phase
    Last edited by Snailz; 02-28-2008 at 12:26 PM.
    Cheese Cake?

  4. #4
    EcHoEs's Avatar lol why u mad
    Reputation
    374
    Join Date
    Sep 2006
    Posts
    1,647
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rogue_start1 registers phaseee_1 Snailz.


  5. #5
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i will give a shoot...

    i will be in ur debt if this work!!!

  6. #6
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If that dosent work then ill see... =)
    Cheese Cake?

  7. #7
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah Yes Echos But You see. Rouge start dosent have <50 in it so it will never register at 50&#37;.
    Cheese Cake?

  8. #8
    EcHoEs's Avatar lol why u mad
    Reputation
    374
    Join Date
    Sep 2006
    Posts
    1,647
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It registers phaseee_1 every 1 second, which registers when unit's health is under 50&#37;.

    GetClosestPlayer might not work btw. GetRandomPlayer might not work either. ^^

    Edit : This might also be bit hard. When players attack it it casts stealth ;D


  9. #9
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh Yea didnt see that bit ^_^ But On Player gets close usuly dosent work ither so i would do it OnCombat. and also yeah Getclosest player only works with some cores.
    Cheese Cake?

  10. #10
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nop the same.....

    i register as phaseee_start1 and the same thing happens....

  11. #11
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Zenneth Please give Hole Script so that i can see it bigger and try to do it another way.
    Cheese Cake?

  12. #12
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    function phaseee_1(pUnit, Event)
    if pUnit:GetHealthPct() < 50 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage (11, 0, "You Gonna Die $N")
    pUnit:FullCastSpell(22427)
    end
    end

    function phaseee_start1(pUnit, Event)
    pUnit:RegisterEvent("phaseee_1",1000, 0)
    pUnit:FullCastSpell(10032)
    end
    RegisterUnitEvent(104, 6, "phaseee_start1")


    i hope u can help me

  13. #13
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im still conefused.. xD Gust tell me a outline on what to do?

    So you want it to do Phaseee 1 at 50&#37;
    and when that happens cast spell 10032 ?
    Cheese Cake?

  14. #14
    Ellenor's Avatar Active Member
    Reputation
    18
    Join Date
    Jan 2008
    Posts
    281
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no unit is register with UBER stealth(10032)

    after that i try to register phasee1 so when the mob go to <50 the mob will cast the spell 22427....
    thats all i want

  15. #15
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So you want him to stealth then stun?
    Cheese Cake?

Page 1 of 2 12 LastLast

Similar Threads

  1. Need help with this LUA script, please.
    By Eliteplague in forum WoW Bots Questions & Requests
    Replies: 6
    Last Post: 11-18-2011, 01:27 PM
  2. [Lua Script] Need help with this lua gossip script
    By diviee3 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 06-21-2010, 07:52 PM
  3. Need help with my script [lua]
    By Satzen in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-18-2008, 05:19 PM
  4. Help with this LUA script
    By jordash in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 03-08-2008, 04:19 PM
  5. [Need help] What's wrong with this script?
    By Arthas117 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-10-2008, 02:04 PM
All times are GMT -5. The time now is 07:36 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search