RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[VXA] Need a Preemptive Strike script

Started by PhoenixKingAnsem, December 28, 2012, 07:57:52 PM

0 Members and 1 Guest are viewing this topic.

PhoenixKingAnsem

So the title says it. In RPG Maker 2k3 you had the ability to have a battle start with a preemptive strike. VX and VX Ace do not have this ability. So what I want is the ability to have a battle start with a preemptive strike based on a condition, In this case the baddies are roaming on the map and if I walk into them a normal battle starts, what I want to happen is when I press A on them it starts the fight with either the enemy taking 20% damage or skipping one turn. Either of those would be fine. I would prefer the turn skip option but whatever. I have looked for a way to do this and couldn't find one :(

Thanks
    ~Ansem

modern algebra

#1
Well, pre-emptive strikes and surprise attacks are still possible in VX and VXA; they are just random - if the party's agility is greater than the enemy's then there is a 5% chance and 3% otherwise.

I take it that you want the ability to specify that there should be a pre-emptive strike prior to a battle processing event. I can do that.


EDIT::

Alright, I wrote the script, and have posted it here: http://rmrk.net/index.php/topic,47440.msg539128.html#msg539128

Please let me know if you are happy with it.

PhoenixKingAnsem

Thanks Modern Algebra! This is exactly what I wanted and it works brilliantly. Again thank you so much!