Command Skeleton Target menu

User Tag List

Results 1 to 3 of 3
  1. #1
    s4000's Avatar Contributor
    Reputation
    255
    Join Date
    Oct 2018
    Posts
    463
    Thanks G/R
    15/247
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Command Skeleton Target

    Any ways to check my active skill target ?

    These ads disappear when you log in.

  2. #2
    JarJarD3's Avatar Contributor
    Reputation
    105
    Join Date
    Oct 2017
    Posts
    395
    Thanks G/R
    41/100
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Originally Posted by s4000 View Post
    Any ways to check my active skill target ?
    What about SelectedMonster1 and/or SelectedMonster2 in IGameController?
    TopMonsterHealthBarPlugin uses this info.

  3. #3
    esix's Avatar Member
    Reputation
    4
    Join Date
    Dec 2018
    Posts
    4
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure if there is a better method.

    Code:
    IPlayerSkill skill = Hud.Game.Me.Powers.UsedSkills.FirstOrDefault(s => s.SnoPower.Sno == Hud.Sno.SnoPowers.Necromancer_CommandSkeletons.Sno);
    if (skill == null) return;
    
    IAttribute attr;
    switch (skill.Rune)
    {
    	case 0:
    		attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_A;
    		break;
    	case 1:
    		attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_B;
    		break;
    	case 2:
    		attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_C;
    		break;
    	case 3:
    		attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_D;
    		break;
    	case 4:
    		attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_E;
    		break;
    	default:
    		attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_None;
    		break;
    }
    
    foreach (IMonster monster in Hud.Game.AliveMonsters)
    {
    	if (monster.GetAttributeValueAsUInt(attr, Hud.Sno.SnoPowers.Necromancer_CommandSkeletons.Sno, 0) == 1)
    	{
    		...
    	}
    }

  4. Thanks RNN (1 members gave Thanks to esix for this useful post)

Similar Threads

  1. [Question] Necro Command Skeletons
    By inferno21317 in forum TurboHUD Discussions
    Replies: 3
    Last Post: 12-27-2018, 05:36 PM
  2. [Request] Command Skeletons
    By cherouvim13 in forum TurboHUD Support
    Replies: 9
    Last Post: 09-28-2017, 04:50 PM
  3. Command Skeletons are active
    By FredDurst in forum TurboHUD Discussions
    Replies: 1
    Last Post: 09-19-2017, 10:43 PM
  4. [Question]Random Target Script/Command
    By Freefall552 in forum World of Warcraft General
    Replies: 0
    Last Post: 09-07-2010, 05:18 PM
  5. [Lua] Custom Targeting Command
    By Vision1000 in forum WoW EMU General Releases
    Replies: 5
    Last Post: 09-06-2010, 04:29 PM
All times are GMT -5. The time now is 04:11 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search