MZ +1 Extra Turn And Bring Forward Function Not Workin?

Hello! I'm using the Visustella series plugins, primarily the core series and the OTB system for some mechanics I want to use in MZ. I'm struggling to create a skill that allows you to both 1- create 2 actions and 2- bring them from the back immediately to the current user's turn order.

Here's the Notetag on the skill:

Code:
<OTB Instant>
<OTB User Add Current Turn Actions: 2>
<After Action>
WAIT: 5
<OTB User Current Turn: -999>
<OTB User Current Turn: -999>
</After Action>

I thought by adding the After action section the bringing the current turn would pull the turn forward, (and with a separate action it would, but not in the same action.) What happens when using the skill is the skill is not used, (its refunded from the OTB Instant), and then 2 more actions are given at the end of the turn but are not brought forward.

Has anyone found a workaround for this?


SOLVED:
In that pic you posted, your target is "current target", which is wrong. You need to target the actor who acted. In 'control variables' you can set a variable to last actor id to act. Then you can make conditional branches in there where you check what the variable is and change that 'Targets' to Actor Id 1, Actor Id 2, Acotr Id 3 etc (unless there's only one dude who knows that skill, in that case you can just use that id).
I'm too bored to test, but what happens if you make the skill give those 2 extra actions and then it has a common event where you use MECH: OTB Order from Battle Core?
Thank you for the reply 🙂

When I add the following common event to the Effects page I get the same result :/
1758377977691.png

I think the problem is that it won't update the turn order on the same turn.
As a test I
-> Used an action that gave me 2 turns, and added the instant cast notetag. Turn ends.
-> On the second turn, I used a skill that <OTB User Current Turn: -99> to bring it to the front and it did.

The issue is that this is two entire turns, and requires a manual input from the user which is not what I want. I'm super new MZ and I don't know how to make that run automatically :/
Ok, I tested it and it seemed to work for me (supposing I understand correctly what you want). So the skill gave 2 new actions in the current turn and "transferred" them to the beginning of action order, so that the character could immediately act again.

In that pic you posted, your target is "current target", which is wrong. You need to target the actor who acted. In 'control variables' you can set a variable to last actor id to act. Then you can make conditional branches in there where you check what the variable is and change that 'Targets' to Actor Id 1, Actor Id 2, Acotr Id 3 etc (unless there's only one dude who knows that skill, in that case you can just use that id).

EDIT: PS. I didn't use 'instant cast' or anything else.
EDIT2: Or at least I think "current target" is wrong if you're using the plugin command in a normal common event.
I will be honest I don't know if I would have gotten that in any short amount of time without your help. Thank you very much that worked! <3

Original thread: https://forums.rpgmakerweb.com/threads/1-extra-turn-and-bring-forward-function-not-workin.180160/