How would you change a Battler's Home Position in Yanfly's Battle Engine?

TheTitan99

Veteran
Veteran
Joined
Nov 2, 2015
Messages
189
Reaction score
87
First Language
English
Primarily Uses
RMMV
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!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top