SOLO'S PROFILE

Search

Filter

I need help making a "double attack" skill in RPG Maker XP.

I figured out a way to do it, but I want to make it better. My method utilizes a Party Size variable to determine which character will be forced to carry out the action in the battle. The problem is that the editor can only force the actions of specific slots, rather than specific characters. So I have to remove/add the character using the common event called by the "double attack" skill to force them into the last slot of the party, then force that slot to attack twice; but this messes up item/skill targeting for the character in that turn, and it just plain doesn't feel right at all. What I want to do is find some kind of "active battler index" in the script and use conditional branches so the editor can decide what slot the active battler is in, then force them to attack twice. For example: "If battler index is 2, force the second character to attack twice; if index = 3, force the third," and so on. However, I haven't been able to get this to work... I've found an instance of "active_battler.index" in the script, but when I try to apply it to the conditional branch in the common event, it just doesn't work. I've gotten so many "undefined method" errors, and then I make some script before the branch to define the index and equate it with the active battler, but it still doesn't work... I've tried so many things; it's driving me nuts. Maybe I missed something; I just don't know.

Any help?
Pages: first prev 12345 last