local target = windower.ffxi.get_mob_by_target("t") print(target.facing)
When using the above snippet of code, the value returned doesn't seem to always be generated the same way for all targets. Some report in a range from -pi to +pi, while others are from 0 to 2pi. It does not matter if it's a PC or NPC; those that report incorrectly will continue to do so repeatedly. Am I somehow using this function or interpreting its results incorrectly? Should I submit a bug report? Thanks.
Edit: Should I have posted this in the addon development section? If so, I apologize.