Womble 9 Posted February 7, 2014 Share Posted February 7, 2014 This post is mainly aimed at Droidz unless someone else knows. Recently you told me to use a second c sharp condition on my spells. This is: - wManager.Wow.Helpers.MovementManager.IsFacing(ObjectManager.Me.Position, ObjectManager.Me.Rotation, ObjectManager.Target.Position, 1.57f) I was wondering what the value would be to change that for abilities used from the front? The code doesn't have any '>' or '<' usage like '(System.Math.Abs(ObjectManager.Me.Rotation - ObjectManager.Target.Rotation) < 1.57f)' Link to comment https://wrobot.eu/forums/topic/1116-wmanager-target-position-front-value/ Share on other sites More sharing options...
Droidz 2738 Posted February 7, 2014 Share Posted February 7, 2014 Hello, The function IsFacing return true or false (boolean) all calcul is in function. Link to comment https://wrobot.eu/forums/topic/1116-wmanager-target-position-front-value/#findComment-5844 Share on other sites More sharing options...
Womble 9 Posted February 8, 2014 Author Share Posted February 8, 2014 Hello, The function IsFacing return true or false (boolean) all calcul is in function. Okay I can replace back stab conditions C sharp code wManager.Wow.Helpers.MovementManager.IsFacing(ObjectManager.Me.Position, ObjectManager.Me.Rotation, ObjectManager.Target.Position, 1.57f) With is facing and use is facing on any abilities from the front then, so what is the purpose of the above C sharp code? Link to comment https://wrobot.eu/forums/topic/1116-wmanager-target-position-front-value/#findComment-5858 Share on other sites More sharing options...
Droidz 2738 Posted February 9, 2014 Share Posted February 9, 2014 IsFacing checking only if you facing your target (you can facing your target and your target can be in front or not of your character). If you facing your target and you have same rotation, you are inevitably behind it. Link to comment https://wrobot.eu/forums/topic/1116-wmanager-target-position-front-value/#findComment-5887 Share on other sites More sharing options...
Womble 9 Posted February 9, 2014 Author Share Posted February 9, 2014 I still don't understand why I used the C sharp code for it though if there's an if facing. I'll try is facing conditions on any of the problematic abilities, hopefully that will fix it. I'm really not sure why 1.57f is still causing some issues with abilities sometimes being used at the front and back when they shouldn be, it's strange. Link to comment https://wrobot.eu/forums/topic/1116-wmanager-target-position-front-value/#findComment-5891 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now