Need Help! Luna Engine MV Formatting Getting Destroyed When Adding Window to FreeLayout, Scene_Battle Actor Command

So, I'm setting up the list of actor commands for our battles, and so far everything is going great!
battle1.png


But I want to move BearBoy there, who is part of the command window, so he's behind BattleStaus, so I go to move the position of the window in the layout. I just use a free layout to control which windows sit on top and which go in behind - the layout contains no additional format or positioning information. At this point I notice I've neglected to put ActorCommand in the layout at all, which is weird, because usually nothing will show up or the default will show up if that's the case. But OK lets give it a shot.

battle2.png


Ah, interesting, OK. Well lets just move it back on to the screen then.

battle3 copy.png


And now instead of two neat rows the commands are all in one long line (it's getting cut off because it now exceeds the window size).

I am ... immensely baffled because this has never happened before. Usually whatever I define in the basic components (Block 1) is untouched by the layout. I've used almost identical scripts in the item menu, and its working fine! Why would this be any different?

Using Yanfly Battle Engine Core, although I've experimented and whatever I input there seems to be overridden by Luna.

Any insight is appreciated!
how do you have the Bear Boy listed to the ActorCommand and what are the sizes of what you're using for the backgrounds? That's not the default window skin I take it? You might have to adjust some things depending on how you BearBoy attached... is it as a custom background or lunatic coding?
He's an image added with lunatic coding (changes depending on the turn). I'm not super worried about BearBoy, I can move him back, and taking him out doesn't make a difference. I'm mostly wondering why adding a window to a freeform layout would demolish the formatting like that.
Although come to think of it he does disappear if you scroll. Like he has become part of the menu somehow...

Oh and it seems to be affecting PartyCommand as well.
Well I was wondering because sometimes I've added things and they've disrupted the window or I had to resize whatever the window was to accommodate what I added. It's hard for me to tell what's going on because Luna is kinda complex to me... more so in that since I don't know exactly how you got to this point, it's hard for me to say how to fix it. tho...

have you tried readjusting anything? like the window width and whatnot? also do you have any other plugins on that deal with battle windows?
I have no other plugins that adjust the size of the battle window; I tried adjusting the text alignment with YEP BattleEngineCore, but that's all it really does. The size of the window is set to accommodate what I want.

Basically what is happening is adding Actor Command to the main layout takes the two columns like this:
_ _
_ _

And turns them into this:

_ _ _ _

(which isn't even a preset or a default?)

Regardless of whether anything is defined in the lunatic or not. This is also the opposite of what usually happens; I'm running a similar script on the item screen, and when I take the item select AWAY this happens, rather than when it is added.
that's really odd then... though... whatever settings you have in Actor Command once added, maybe adjust those and see what happens? usually if I add something new, I have to format it around what I already have, unless it was there to begin with. but... I only have 1 command visible at once. 1 row, 1 column. and I've never had it change when I added anything to the Command. I added actor pics once to see if I could and that didn't mess up anything, so I'm not really sure what's going on without actually seeing any of it I guess.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-luna-engine-mv-formatting-getting-destroyed-when-adding-window-to-freelayout-scene_battle-actor-command.122394/