Boss Battle Dialogue

Okay, so I have a problem. A boss summons a bunch of his underlings to attack. When the last minion dies, that triggers a switch that should activate some dialogue at the end of the turn, and then another set of dialogue on the next turn. I don't know how to make sure the second set of dialogue plays on the next turn. The second set is currently triggered by a switch at the end of the first set of dialogue.
Your explanation is confusing.  The way I'm understanding it, what you are having trouble with is making a troop event occur exactly one turn after another troop event - is that right?


The way you would do this is have the first troop event occupy a HIGHER page number than the second troop event, give them both an "End of Turn" condition and have the first troop event set a switch (let's say Switch #29) ON when it runs.  Make that switch the requisite for the second troop event.
Your explanation is confusing.  The way I'm understanding it, what you are having trouble with is making a troop event occur exactly one turn after another troop event - is that right?


The way you would do this is have the first troop event occupy a HIGHER page number than the second troop event, give them both an "End of Turn" condition and have the first troop event set a switch (let's say Switch #29) ON when it runs.  Make that switch the requisite for the second troop event.

The problem is that I want the second set of dialogue to be triggered at the beginning of the next turn. I can't get the event to occur at the beginning of the next turn consistently.
OK, then do what I said except don't use the "End of Turn" condition on the second troop event.  It will run at the beginning of the next turn (assuming the Scope is set to 'Turn').


Note that RPG Maker considers the "beginning" of a turn to be right before battlers actually act, not right before you input commands for your actors.
OK, then do what I said except don't use the "End of Turn" condition on the second troop event.  It will run at the beginning of the next turn.


Note that RPG Maker considers the "beginning" of a turn to be right before battlers actually act, not right before you input commands for your actors.

The second troop event just plays immediately after the first. It seems that putting the first event at the end of the turn doesn't actually end the turn before starting the next event.
Sorry, just tested it out myself and I was mistaken.  The second event will indeed immediately play right after the first.


How about having the first event set a variable (let's say Var #29) to 2, and the second event is set up as a "Turn" event that will always run (its only condition is End of Turn, or a switch that is always on".  The second event will technically run each turn BUT the player won't see anything except for one turn after the first event is run if you use the following event commands for the second troop:


Conditional Branch: Variable #29 is EQUAL to 1


    Show Message: "Yada Yada Battle Dialogue"


End Conditional Branch


Control Variables: SUBTRACT 1 from Variable #29


If that doesn't work then try originally setting the Variable to 3 instead of 2.
That worked! Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/boss-battle-dialogue.62311/