help with LUA menu

Shout-Out

User Tag List

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

    help with LUA

    Well there are some parts i dont get like when you register events within events like

    function SunwellPriest(unit, event, miscunit, misc)
    print "SunwellPriest"
    unit:RegisterEvent("SunwellPriest_Mind_Flay",1000,0)
    unit:RegisterEvent("SunwellPriest_Vampiric_Touch",950,0)
    unit:RegisterEvent("SunwellPriest_Shadow_Word",1100,0)
    unit:RegisterEvent("SunwellPriest_Min_ Blast",1150,0)
    end
    Whats the numbers for after it like the 1000,0 for?

    help with LUA
  2. #2
    Szharz's Avatar Contributor
    Reputation
    149
    Join Date
    Aug 2007
    Posts
    909
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think its the cooldown time oO?



  3. #3
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lets take one and explain. This for example:
    unit:RegisterEvent("SunwellPriest_Mind_Flay",1000,0)

    Every 1 second (1000 miliseconds), the function "SunwellPriest_Mind_Flay" will be called upon. So if "SunwellPriest_Mind_Flay" activates a spell, this mob will cast that spell every second.
    Life Puzzler WoW - Website | Forums

  4. #4
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks so much guys!

Similar Threads

  1. help with lua script
    By mi_ninja in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 06-04-2008, 09:51 PM
  2. Anyone willing to help with LUA scripting
    By nickeg in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 03-09-2008, 05:53 PM
  3. [Request] I need some help with lua script (boss on death)
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 03-03-2008, 03:47 PM
  4. Need help with LUA
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 18
    Last Post: 02-28-2008, 12:54 PM
  5. [Help] With Lua ...(where to attach it?)
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 02-15-2008, 05:50 PM
All times are GMT -5. The time now is 01:03 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