Repositioning a sideview actor's default position before/during battle?

KingKraken

Veteran
Veteran
Joined
Apr 2, 2015
Messages
145
Reaction score
52
First Language
English
Primarily Uses
RMMV
Hey everyone! I'm trying to make my battles more visually dynamic, but I can't seem to find the right way to do it. Basically I'd like to be able to have the players character sometimes start in different places(preferably set before/at the start of the battle). I went on a big search for the information, with a couple people saying it can be done with script calls and eventually found these two codes from this short thread:
Code:
SceneManager._scene._spriteset._actorSprites[X]._homeX
SceneManager._scene._spriteset._actorSprites[X]._homeY
But I'm not exactly sure how to go about implementing them. As there anyone proficient in scripting, that can walk me through this script calls use, or have any better script call functions for this type of thing?

Alternatively if anyone knows of a plugin that can do this, I'd also be grateful for that!

Thanks!
 

zzmmorgan

I've used punchcards
Veteran
Joined
Jul 10, 2020
Messages
114
Reaction score
179
First Language
English
Primarily Uses
RMMV
For MV there's an awful lot you can do with Yanfly's Action Sequence pack. I bought his stuff after the paywall went up and don't regret it as there's a ton of saved time using his plugins.
 

KingKraken

Veteran
Veteran
Joined
Apr 2, 2015
Messages
145
Reaction score
52
First Language
English
Primarily Uses
RMMV
For MV there's an awful lot you can do with Yanfly's Action Sequence pack. I bought his stuff after the paywall went up and don't regret it as there's a ton of saved time using his plugins.
I actually do have it as well and use it a lot! But I don't remember there being anything about shifting the default home position?
 

41728280

Veteran
Veteran
Joined
May 31, 2020
Messages
239
Reaction score
72
First Language
Chinese
Primarily Uses
RMMV
Use script
SceneManager._scene._spriteset._actorSprites[a].setHome(x, y)
such as
SceneManager._scene._spriteset._actorSprites[0].setHome(300, 150)
Or try this plugin
Battle Formation
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

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'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top