CombatState for Monsters menu

Shout-Out

User Tag List

Results 1 to 1 of 1
  1. #1
    Firegone's Avatar Active Member
    Reputation
    19
    Join Date
    Sep 2007
    Posts
    286
    Thanks G/R
    5/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CombatState for Monsters

    Hello there,

    is it possible to get the combat state of a monster? I am currently working on a plugin for hunting goblins (modified versions of some plugins). Currently I am able to get a popup when I run into the range of an goblin (unfortunately it doesn't disable immediately if I leave the range, but that's something for later I guess).

    Code:
            public void PaintTopInGame(ClipState clipState)
            {
                foreach (var goblin in Hud.Game.AliveMonsters.Where(x => x.SnoMonster.Priority == MonsterPriority.goblin))
                {
                    Hud.RunOnPlugin<Sefer.GoblinHuntPopupPlugin>(plugin =>
                    {
                        plugin.Show(goblin.SnoMonster.NameLocalized, "!!! Goblin spawned !!!", 5000, "");
                    });
                }
            }
    Now I want to add another line which tells me whether or not this Goblin is in combat (aka too late for Invite). Is it possible to do that? +

    I found the following attributes:
    Code:
    IAttribute In_Combat { get; }
    or
    Code:
    IAttribute In_Combat_With_Player { get; }
    Can be one of those be applied as a condition for
    Code:
    var goblin
    ?


    EDIT: goblin.AnimationState == AcdAnimationState.NotAnimating was my next attempt, but its always 0
    EDIT2: goblin.Animation.ToString() also always seems to be 0
    Last edited by Firegone; 04-25-2020 at 08:56 AM.

    CombatState for Monsters

Similar Threads

  1. [Guide] [Dauntless] Next Best Thing For Monster Hunter Online Fans Outside of China?
    By Veritable in forum MMO Exploits|Hacks
    Replies: 0
    Last Post: 07-17-2017, 09:29 PM
  2. Replies: 2
    Last Post: 09-24-2014, 02:22 PM
  3. [Trading] A *new* $3500+ monster desktop pc for scarab lord warrior (us only)
    By elreyjuan001 in forum World of Warcraft Buy Sell Trade
    Replies: 15
    Last Post: 07-30-2010, 08:53 PM
  4. How to create custom monsters for your server!
    By renitharis in forum WoW EMU Guides & Tutorials
    Replies: 13
    Last Post: 12-10-2007, 07:53 PM
All times are GMT -5. The time now is 09:33 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