I've got another question concerning the API and MM. I have a priest who is supposed to heal the group, but he only enables the healing function on a certain waypoint - so the X, Y and Z position is absolute.
If my priest is being pushed away from my teammates whilst he is in healing mode on the X, Y and Z position and out of range for any healspells, he just stands around and waits for the battle to end (that's how the healing mode is programmed. it gets enabled when the priest reaches the waypoint and if he is batteling (player.batteling()).)
So my question is: How can I update my character's position, so he can adjust his position and run back to the waypoint coordinates or even run to the teammembers until he is in healrange again?
Thx in advance!
edit: sorry for offtopic here, but didn't want to create a new thread. Can I check if a partymember has the buff "xy"? I know of the existance of:
Code: Select all
player:hasBuff("BuffName")