Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
120
Reaction score
31
First Language
English
Primarily Uses
RMMV
Hi All. I was wondering if anyone knew if you can use conditional if statement in Yanfly's Battle Engine Core X and Y Positioning for battlers. I was hoping to do something like this for the Y position.

if ($gameParty.members().length == 1 (800)) else (500 + index * 120)

Basically, i would like it to center the players vertically based on party size in stead of the default where it starts a single character at the top.

Any help is always appreciated.
 

Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
120
Reaction score
31
First Language
English
Primarily Uses
RMMV
I actually ended up figuring out a solution using this.

(180 / $gameParty.members().length) + 465 + (index * 120)

Figured I'd post it, in case it can help someone else.
 

Latest Threads

Latest Profile Posts

Done edit sprite Raven witch char for main party.
niagarabekasi.jpg

Dirty waterfall in satelite city bekasi.
credit: Hiddeone for knight, LadyBaskerville XP to MV, whtdragon for reindeer, witch nude body by RayaneFLX
I'm really sorry I haven't done any streams. I actually just got home from the hospital after a week and a half.
I'm not dead - I promise :stickytongue:

Anyway, some pokemon inspired art (dont ask me which one tho xD)
reali.png
Writing boss music for Pale Coins. This is the Goblin Mage's theme!

Forum statistics

Threads
129,716
Messages
1,204,600
Members
170,792
Latest member
Wagner34
Top