Show Party Commands Menu every turn

Status
Not open for further replies.

xdan

Veteran
Veteran
Joined
Aug 21, 2016
Messages
158
Reaction score
59
First Language
Spanish
Primarily Uses
You may have noticed that if, at any point in battle, no member of your party is able to move, the Party Command Menu won't even show up at the start of the turn. Could you please change that? I'd like the player to always be able to try to run or do some other Party stuff.

Thanks in advance!
 

xdan

Veteran
Veteran
Joined
Aug 21, 2016
Messages
158
Reaction score
59
First Language
Spanish
Primarily Uses
I'm already using that script. Perhaps I didn't explain myself too well? Let's see:

2019-02-25.png

This beautiful menu? Which contains options like "Fight", "Run",... It shows up at the start of every turn... unless none of your party members are able to move. If all your party members are paralyzed/confused/asleep/whatever impairment, the window won't show up at all and the turn will start automatically.

I want that to change. I want the window to appear at the start of every turn no matter what. I hope I made it clearer now!
 

CaRa_CrAzY

Undefined Custom Title
Veteran
Joined
Jan 19, 2019
Messages
65
Reaction score
27
First Language
Portuguese
Primarily Uses
Other
Well... I found a bad solution here, but I think it works.
When I have time I should refine it in something more elegant, but whatever... Here it is:

Code:
module BattleManager
  def self.input_start
    if @phase != :input
      @phase = :input
      $game_party.make_actions
      $game_troop.make_actions
      clear_actor
    end
    return !@surprise
  end
end
It needs more testing, so it may cause some undesired side effects.

Anyways, This is basically the same method found in the BattleManager module, the difference is that I changed this line
Code:
return !@surprise && $game_party.inputable?
By removing the $game_party.inputable? it should enable the party commands menu regardless of party member conditions.
 

xdan

Veteran
Veteran
Joined
Aug 21, 2016
Messages
158
Reaction score
59
First Language
Spanish
Primarily Uses
You know the Battle Command script by Yanfly? If you do, know this causes a bug with that script. I seemingly solved it? Here's the specifics in case you want to know.


You know this small window the script creates? When there are no available battlers, the window activates when you use the fight command, but it's not even vissible. And most importantly, the game crashes if you cancel out of it.

I seemingly solved it by going to this line (988):



And adding the thing you removed.



I'm no scripter so I might be messing up everything really hard. What do you think?

That aside, your script works perfectly! Thank you so much! ^^

I'll wait for your response before closing the thread.
 

Attachments

CaRa_CrAzY

Undefined Custom Title
Veteran
Joined
Jan 19, 2019
Messages
65
Reaction score
27
First Language
Portuguese
Primarily Uses
Other
if your adjustments are doing fine, i see no problem in closing the thread. :wink:
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,454
Members
137,821
Latest member
Capterson
Top