To elaborate:
I want a character to move to a location, and then make that their new default location until combat ends. Meaning, if they cast a spell from there, upon completion of that spell, this new location will be the spot they walk back too, not the original. As an easy example, for a Cover spell, the actor walks to the front of the team, and stays there throughout all other actions, because this is now their new home position.
In the code, I've already found the function setHome(x,y). The issue is, I have no idea how to actually use this in a meaningful way! Where would I use this so that, after the action sequence of move to a point, or move to target, or whatever, they just stay there?
Any and all help is appreciated!
I want a character to move to a location, and then make that their new default location until combat ends. Meaning, if they cast a spell from there, upon completion of that spell, this new location will be the spot they walk back too, not the original. As an easy example, for a Cover spell, the actor walks to the front of the team, and stays there throughout all other actions, because this is now their new home position.
In the code, I've already found the function setHome(x,y). The issue is, I have no idea how to actually use this in a meaningful way! Where would I use this so that, after the action sequence of move to a point, or move to target, or whatever, they just stay there?
Any and all help is appreciated!
