Troops position help (again)

Hello there. I'm using @LadyBaskerville 's EnemyPlacement plugin. I'm trying to configure the settings so that I can position the enemy troops at the top of this image here https://i.imgur.com/23L9elc.png in the 3 areas.

Here are the formulas:
x position 16 + (troopSize + 2) * 32 - index * 32
y position screenHeight - statusHeight - troopSize * 48 + (index+1) * 48 - 32
Where do you want the enemies to appear if there is only one or two enemies? Can there be more than three enemies?

For the Y position, you need to enter just a single number, since all your enemies are positioned at the same vertical height. You will need to find that number yourself by trial and error.
It'll be a total of 4 enemies and 4 actors, but the first enemy and first actor are not in those card placement areas. The 2nd, 3rd, and 4th enemies and actors are in those areas. It's a card battle so it wont start off with 3 enemies there. They need to play the card first by using a skill.
Then try something like this for the X position:
OFFSET + WIDTH * (index-1)
and replace OFFSET with the distance between the left edge of the screen and the first card, and WIDTH with the width of each card slot.
I did as you instructed and that did indeed help out the x position 🙂

So should I treat the y position as the same formula? Because it currently looks like this and i want to be aligned horizontally https://gyazo.com/6344702e25e7c4c300eb754fc3a9b7f6

Edit: yup, it seems i can use the same formula. Thank you very much! :LZSexcite::LZSgrin:
No, the Y position should just be a fixed number (the distance between the top of the screen and the top of where you want the cards to be).
Yup, n + n. It worked perfectly. Thank you very much for your help!:LZSproud:
You're welcome, I'm glad it's working!

Original thread: https://forums.rpgmakerweb.com/threads/troops-position-help-again.96762/