Skip Actor Turn at Timer End

Trasdill

Grumpy Knight
Member
Joined
Mar 29, 2016
Messages
10
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hi,

I'm looking for a way to forcibly end an actor's turn, even during their input phase. My goal is to time-limit each actor turn for added tension during combat. I'm using Yanfly's STB as my base system with BARREY_CommonEventsInBattle for running CEs more easily.

Here's what my current setup looks like:

- At actor's turn start, timer is launched via common event
- In a battle Event (set to Don't Run, Moment):
  • Conditional Branch, if Timer = 0
  • Force Action (empty "Wait" Skill)
I tried Force Action as I noticed that with Yanfly STB, forcing an action ends the battler's turn. However it does not seem to work during an actor's Input Phase. Ultimately, what I want is the Actor's turn to end once the timer hits 0, and the game to move on to the next battler in the Turn Order.

The timer system itself is simple and triggers events successfully; I just don't have any idea how to properly end an actor's turn or force an action to do so. Attempts to call the Turn End functions in Yanfly's Plugin have crashed the game, so clearly I am missing something.

Any idea how to achieve this?
 

Fernyfer775

Veteran
Veteran
Joined
Oct 6, 2013
Messages
1,317
Reaction score
818
First Language
English
Maybe add a 1 turn stun to the wait skill? Idk, just throwing out guess here :p
 

Alisu

Veteran
Veteran
Joined
Apr 4, 2018
Messages
61
Reaction score
36
First Language
Finnish
Primarily Uses
RMMV
Unless something in the battle system you use handles it specifically differently, an event page set to "Don't Run" never runs. It just sits there looking pretty.
 

Trasdill

Grumpy Knight
Member
Joined
Mar 29, 2016
Messages
10
Reaction score
1
First Language
English
Primarily Uses
RMMV
... Well, that was silly of me :p

I've set the timer event to flip a switch when it reaches 0, and set the battle event to trigger when said switch is ON. The event now works...

... except it only triggers once the Actor has launched an action (i.e. I select an action, target, etc., and right before it executes, the event triggers).

So my initial problem still remains: battle events don't seem to trigger so long as an Actor is in the Input phase. Is there any way to override this?

(Note: running the Force Action command directly from the Common Event doesn't seem to work either; the actor just remains in limbo until I manually perform the skill that is being forced, and then battle resumes)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top