Is there a way to check and store the X,Y coordinates of player followers in a variable?
Follower X,Y Coordinates
RPG Maker MZ SupportYou can select script in Control Variables, or Conditional Branch, and use $gamePlayer._followers._data[0]._x
Keep in mind the character index begins with 0. So data[0] is the first follower. data[2] would be the third follower.
Digression: With map coordinates I always tell people, you know, the data is already there. I can think of situations where you'd want to store the values long term. Otherwise, you're just storing them to work with dust old event commands that the developers of RPG Maker haven't touched in 30 years. If they had any integrity they should have integrated coordinate based event triggers by now.
Keep in mind the character index begins with 0. So data[0] is the first follower. data[2] would be the third follower.
Digression: With map coordinates I always tell people, you know, the data is already there. I can think of situations where you'd want to store the values long term. Otherwise, you're just storing them to work with dust old event commands that the developers of RPG Maker haven't touched in 30 years. If they had any integrity they should have integrated coordinate based event triggers by now.
Thanks for the help. I get that no engine can provide every solution to every problem out of the box, but it does feel like we're having to jump through the a lot of the same hoops as we did in older iterations of RPG Maker to do what feels like some pretty basic stuff.
Original thread: https://forums.rpgmakerweb.com/threads/follower-x-y-coordinates.156504/