[LuaNinja] help wanted. menu

User Tag List

Results 1 to 5 of 5
  1. #1
    incognit0's Avatar Private
    Reputation
    3
    Join Date
    Jan 2010
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [LuaNinja] help wanted.

    Hey i'm working on a Holy and ret macro and a shadowpriest macro atm

    i'm wondering if someone know following answers.

    1. is there an API or code to check if raidmemebers have aggro?

    2. can you check if curent attacker on player is example beast or undead?

    3. need a code to make my channel spells keep casting the spells for the full duration of the spell and not interupt the casting fro another spell after a second.

    thanks in advance. =)

    [LuaNinja] help wanted.
  2. #2
    MrMemento's Avatar Corporal
    Reputation
    9
    Join Date
    Jan 2010
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by incognit0 View Post
    1. is there an API or code to check if raidmemebers have aggro?
    There are two functions that would report that.
    UnitDetailedThreatSituation
    Code:
    isTanking, status, scaledPercent, rawPercent, threatValue = UnitDetailedThreatSituation("raid1", "target")
    UnitThreatSituation
    Code:
    status = UnitThreatSituation("raid1", "target")

    Originally Posted by incognit0 View Post
    2. can you check if curent attacker on player is example beast or undead?
    This function will return for example "Beast", "Undead" UnitCreatureType
    Code:
    type = UnitCreatureType("target")

    Originally Posted by incognit0 View Post
    3. need a code to make my channel spells keep casting the spells for the full duration of the spell and not interupt the casting fro another spell after a second.
    UnitChannelInfo can be used to check if the player is channeling a spell. So include a check with this function before you cast a spell that you belive is causing the interrupt.

  3. #3
    ganzerker's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    2.by attacker u mean ur target i suppose, well one post down from u has a surv macro and in the code i found (UnitCreatureType("target")=="Elemental" so modify it to ur needs
    3 wowapi doesn't have info on the code UnitChannelInfo but mess around w/ tht
    otherwise jus run ur macros w/ (i jus woke up and been drinkin lasn ite so heads groggy and code may not be 100% correct) /run RunMacroText("/run [nochannel:*insertspell name*] *insert spell u wanan cast")


    for the record i was typin tht when no1 responded and i waso nly view :P he was jus a faster researcher

  4. #4
    incognit0's Avatar Private
    Reputation
    3
    Join Date
    Jan 2010
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks alot guys +Rep

    gonna see if i can modify my macros a bit more now when i have little more.

    found all but the threat lines, but i did'nt know how to check them correctly =)

  5. #5
    ganzerker's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by incognit0 View Post
    thanks alot guys +Rep

    gonna see if i can modify my macros a bit more now when i have little more.

    found all but the threat lines, but i did'nt know how to check them correctly =)
    np happy coding

Similar Threads

  1. Help Wanted!!
    By alternatepro in forum Community Chat
    Replies: 4
    Last Post: 03-03-2008, 07:49 PM
  2. Tauren Model To Gnome Model Help Wanted
    By Jaybeast in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 02-13-2008, 08:52 PM
  3. [Help Wanted]Admin/Dev send Mail via Website
    By Zaphieon in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 10-19-2007, 11:48 AM
  4. DKP System, Help Wanted!
    By Jotunheim in forum WoW Instances & Raiding
    Replies: 3
    Last Post: 09-28-2007, 11:18 PM
  5. Nogg-It FPS help wanted.
    By Evieh in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 07-31-2007, 10:05 AM
All times are GMT -5. The time now is 04:46 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