Ahoy hoy,
So my primary query is how to get an actor's position in the battle party and store it in a variable. There's a lovely limitation on both Force Action and Deal Battle Damage that it can only be applied based on position, rather than specific party members. I've tried using this but I'm pretty sure it's wrong:
var99 = $game_party.actors.index(3) (with the intent of getting the position of Actor 3)
I'm trying to accomplish two things:
An enemy skill that deals exactly enough damage to each party member that they are left with 1HP remaining. I accomplished this via a general Script Call (set HP to 1), but naturally that doesn't play hurt reactions, nor does the battle status update after that. It just doesn't look as good as an actual damage command. I'd much rather be doing a HP calculation and applying damage that way. Change HP also doesn't deal damage.
A player skill that uses a set of consecutive actions-- a skill that force actions several more skills after itself provided the skills are learned. Only one actor is able to use these particular skills, so on the skill's use I need to know what position she's in to force her to use the actions.
I'd also love to know if there is a means to force refresh the battle screen, namely battle status, actors and enemies (I'm using animated battlers and have had issues with troops not appearing after an 'Enemy Transform' is run, until they use a command. I've brute forced it by making them use a 'null skill' immediately after transformation, but its not infallible.) It may not be possible with anim. battlers though, and that's fine.
So my primary query is how to get an actor's position in the battle party and store it in a variable. There's a lovely limitation on both Force Action and Deal Battle Damage that it can only be applied based on position, rather than specific party members. I've tried using this but I'm pretty sure it's wrong:
var99 = $game_party.actors.index(3) (with the intent of getting the position of Actor 3)
I'm trying to accomplish two things:
An enemy skill that deals exactly enough damage to each party member that they are left with 1HP remaining. I accomplished this via a general Script Call (set HP to 1), but naturally that doesn't play hurt reactions, nor does the battle status update after that. It just doesn't look as good as an actual damage command. I'd much rather be doing a HP calculation and applying damage that way. Change HP also doesn't deal damage.
A player skill that uses a set of consecutive actions-- a skill that force actions several more skills after itself provided the skills are learned. Only one actor is able to use these particular skills, so on the skill's use I need to know what position she's in to force her to use the actions.
I'd also love to know if there is a means to force refresh the battle screen, namely battle status, actors and enemies (I'm using animated battlers and have had issues with troops not appearing after an 'Enemy Transform' is run, until they use a command. I've brute forced it by making them use a 'null skill' immediately after transformation, but its not infallible.) It may not be possible with anim. battlers though, and that's fine.
