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

Making a CC turn towards the mob?

ghoro

New Member
Joined
Feb 24, 2010
Messages
153
Reaction score
2
Hello!
Currently using http://www.thebuddyforum.com/honorbuddy-forum/classes/druid/31210-handnavis-bear-tank-cc.html for various bear tanking in level 80 multimobs farming, and its pretty flawless except it doesnt turn correctly towards the mob. For some reason it just stands at the direction where it stoped, never turning. If i choose "CC control turning" in the CC config, it kinda freaks out and starts moving around in diffrent directions.

So, i thought, this must be some simple command or similar that just went outdated or was changed and it should be easy to solve this by myself. Sofar i had no luck in getting anything to work, but i have found the problem i think.
Code:
            if ((HandnavisBearTankSettings.Instance.Faceing == 1 && !StyxWoW.Me.IsInInstance) || HandnavisBearTankSettings.Instance.Faceing == 2)
            {
                StyxWoW.Me.CurrentTarget.Face();

This is the code i think is wrong, its a code i havent seen in any other CC when i compared it to others.
So, anyone got any clues on what the correct code should be? sofar i tried the commands i found in the WIKI but im missing alot of other commands to make them work since i dont know shit about coding.
Im thankfull for any and all help!
 
No idea what the .Instance.Faceing int's point to...

But if you put:

if (Me.CurrentTarget != null && !Me.IsFacing(Me.CurrentTarget.Location))
{ Me.CurrentTarget.Face(); }

Should work just fine to make sure you are facing a target if you have one.
 
Hmm, im not getting it to work correctly, i tried replacing the code with your code, and also adding your code after the original code.
Gonna test some more tomorrow, if you have any more ideas it would be great to hear em!
Im off to bed for today so you might not hear from me until tomorrow.
 
I'm not sure whenever they're the same or not, but I always used ObjectManager.Me...
 
No idea what the .Instance.Faceing int's point to...

But if you put:



Should work just fine to make sure you are facing a target if you have one.

They point to the settings. You can change that through the GUI
It's cause he made his CCs so you can disable movement if you wanted to through GUI
 
Back
Top