The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: zerothedarklord on October 13, 2011, 09:39:50 PM

Title: Automatic Combat Actions
Post by: zerothedarklord on October 13, 2011, 09:39:50 PM
I want to be able to have certain attacks be used automatically, and based on certain things. I've looked all around and can't seem to find what I'm looking for, so here it is:

In World of Warcraft, there are abilities that trigger from hits that would kill your character (example: rogue's cheat death). I need something kind of like this, where it will allow you to customize it to either trigger automatically at a certain health percentage, or on taking damage that would otherwise kill you. I'm not sure how it would be made, or how it might work, but if possible I would like to try to get it to work through note tags placed on the skill itself that you wish to activate. Something like [Automatic, 0], 0 representing the remaining amount of health. [Automatic, 10], meaning it would activate once the character reaches 10% or less health, etc.
And while not completely sure if it matters, I feel it's worth mentioning that I want this to also occur EVEN IF the using actor has already used their action for the turn. Example: Actor A attacks, then is attacked, dropping HP to 10% or less, which then triggers the Auto ability.

Comment if you have any questions or feel I was unclear about something.
Title: Re: Automatic Combat Actions
Post by: zerothedarklord on October 16, 2011, 09:34:31 PM
Nothing?