Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[Resolved] Stopping the Battle Command window from moving about.

Status
Not open for further replies.
I'm working on my battle system, and I have a custom status script. In this case, it disables the battler sprites, and makes the battle system like RM2K. However, there is a problem. The battle command window (Y'know, the one which shows "Attack, Skills, Defend, Items etc...") keeps changing its position. I want to disable this, and make it remain in its preset position, as defined in Scene_Battle 1.

Thanks to anyone who can do this for me.  :)

http://i173.photobucket.com/albums/w73/krypton-knight/BattleShift1.png[/img]

http://i173.photobucket.com/albums/w73/krypton-knight/BattleShift2.png[/img]

http://i173.photobucket.com/albums/w73/ ... Shift3.png[/img]

You see? I don't want it to keep shifting like that, it looks strange. Once again, thanks to anyone who can do this for me!
 
*exactly 2 minutes later...*

I found out what was wrong, and simply changed that. Seems that I just had to edit the X position of the window, instead of letting 160 get multiplied by the actor's index.

Nevermind this topic, it has been resolved. Mods, you can close, delete, move, do whatever you want with this topic.

Just for future n00bs like myself, who have the same problem:

In Scene_Battle 3, go to line 81, and change:

Code:
@actor_command_window.x = actor.index * 160

To

Code:
@actor_command_window.x = <X Position of your window>

This can be closed now...
 

arev

Sponsor

This topic has ben resolved bla bla bla...
krypton-knight[/a], please use the "Edit" option next time (it's that little white rectangle with a pencil on the right).
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top