Delay Attack System

Hello, I've been playing around with RPG Maker VX Ace and tried to see how to make my games more complex.

One of the features I wanted to add was a delayed attack system, one that I've seen in a rpg vx game. Could you help me?

So basically, the enemy will not attack for a turn but instead a message will appear like "A is readying for a strike!" or "A is taking aim!".

Then the next turn the enemy will attack the player with a special attack but the player has the chance to heal/guard.

What I'm not sure is how to approach this, would I need a common event? A script? An event in the troop page?

Additionally is it possible for "A is aiming at [character]" and then the next turn attack said specific character?
It could be done by any of the means listed above, but your best solution would probably be to Google for a "Charge Skills" script for Ace.  There are several such scripts out there.
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Without checking, I'd say this can be done with relative ease using the troops pages.
It can be done without scripts (at least with random targets, setting a target for the next turn is trickier:


Make a skill that adds a state "charging" to the user, have it a duration of two turns.


In the enemy action pattern, make the powerskill conditioned on that state and with a very high rating.


When the first skill is executed, it will set the condition that is needed for the second skill and the attack rating wil make sure that that skill is selected the following turn...
It can be done without scripts (at least with random targets, setting a target for the next turn is trickier:

Make a skill that adds a state "charging" to the user, have it a duration of two turns.

In the enemy action pattern, make the powerskill conditioned on that state and with a very high rating.

When the first skill is executed, it will set the condition that is needed for the second skill and the attack rating wil make sure that that skill is selected the following turn...
Thank you, I will try that right away!

Quick q, I'm assuming the turn (n) ~ (n) where n is a number is for rpg maker to take an variance between the two values? So if following your instructions, to have a duration of two turns

I will need to put 2 ~ 2?
yes - and it needs to be two turns because the current turn counts and the state needs to be active in the decision phase of the next turn.
to display a message you will need states like what Andar said.
[IMG]http://s3.postimg.org/wa37h8i5f/rsz_w2xjp.png[/IMG]

but if you only want a delay/speed up of skill casting without any text display,  you can adjust the Invocation speed in your skill editor.

[IMG]http://puu.sh/7BjKS.png[/IMG]
but if you only want a delay/speed up of skill casting without any text display,  you can adjust the Invocation speed in your skill editor.


7BjKS.png
Wrong, the invocation speed has absolutely nothing to do with display or animation timing.
A skill's speed is added to the actor/enemy agility when determing the action order of that turn - if the speed is high, then the skill will usually executed before any other battler has its turn.


A negative speed results in the skill being processed later as regular.
Wrong, the invocation speed has absolutely nothing to do with display or animation timing.

A skill's speed is added to the actor/enemy agility when determing the action order of that turn - if the speed is high, then the skill will usually executed before any other battler has its turn.

A negative speed results in the skill being pr
Ok so I got a "Charge" state set up. No Restriction with a priority of 100. Remove at Battle End, auto removal timing- turn end 2~2.

In the enemy tab, I've given the enemy a special skill with the condition that they have the "Charge" State..

I've also given them a custom skill "Charge" that applies the state "Charge" to them so they can use their special skill next turn.

Thank you so much Andar!
Since it was solved without scripts

I've moved this thread to Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/delay-attack-system.45630/