What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to determine if flag is being "turned"-- animation state "Using"

roguetexan

New Member
Joined
Mar 23, 2010
Messages
72
Reaction score
0
How to determine the animation state of a character?

For instance, if they are "dancing" there is a specific animation name... where is it? If they are casting, or opening things, there is a different animation name.

For turning a flag in a battle field it is "Using".

Is there a way to find it in the Db? I want to use it for attacking people turning the flag, since the flag is not "targetted" you cannot determine if the other faction is doing anything unless they are standing near enough to a flag.

Much appreciated for suggestions.
 
i'm not a coder by any means... but here is something from natfoth's BasicUseObject (lines 119-121)

PHP:
                                    _objectList = ObjectManager.GetObjectsOfType<WoWGameObject>()
                                        .Where(u => u.Entry == ObjectId && !u.InUse && !u.IsDisabled)
                                        .OrderBy(u => u.Distance).ToList();

now you're going to ask...

how do you find out u.InUse or !u.InUse

i dunno - it all has to do with the object manager in the api

as a side note - you'll probably want to open your InteractWith behavior for what nesox or raphus use for game objects
 
Last edited:
Thanks Kickazz. I will try it but I think that's not going to work. InUse is a "lock" as far as I know meaning someone else cannot use it. Flags can be turned by many people.

I will try, but I think that is not it.

I know from a former DLL i used to have access to, but the guy has disappeared, that all the InUse tricks did not work, and the trick was to use the character animation "Using".



Also, the InUse functions all focus on the OBJECT... I am interested in the PERSON doing the flag capturing.

I came upon a bot in AV once that was using it recently. The bot just stood there and did nothing, but as soon as you started a "capture" it hit you...
 
Last edited:
Basically, if someone can just help point me to how to figure out where the animation state of a character is I'd be fine. Otherwise I'll go to the hex editor and start the search ... :)
 
Last edited:
Back
Top