Context:
(Not that necessary, just skip to the problem)
I think that default "action patterns" function in the editor is, unreliable, at best.
I don't like many things about it, like only-one-condition rule or enemies picking action on start of the turn (so a guy whose leg I broke will use leg skill because leg was broken just now).
I also just don't... GET skill rating (I just don't, okay, I'm too dumb).
So, after I was told that I'd have to rewrite the whole engine to get rid of "leg skill with broken leg" incidents I did what, I, boy with no coding skills that does common eventing instead, does and made a common event.
And, it actually worked? Using eventing fixed all problems that I had with default pattern system.
So I playtested, made sure everything works as intended, made events for most enemies in the demo and then, finally having functional system, went on to do other stuff.
A bit later, while implementing something else, I realised that most systems that I made, while functionally and fairly flexible, were also confusing as hell to edit and ONLY fairly flexible. So I decided to rearrange things and do some more playtesting. After some time got to remaking enemy pattern system, and while playtesting, I've come to horrific, horrifying conclusion.
Normal battles were not fun at all.
Like yeah, I've got all that funky mechanics and unique encounters are mostly fun to put them to test, but all that means nothing when 90% are against enemies in very monotonous formations of like, 2 or 3 enemies, and all of them all designed to pose threat on their own, so there's not enough variability when it comes to combing them in troops.
So I decided to redesign how encounters work and make enemies more group friendly.
But that means that using "force action" function won't suffice, I just can't say "this foe will always be in index 2", there are too many formations for it to be possible. I could just brute force it and make some convoluted method with 8 events per enemy but, you know, it's not really a good solution.
Problem:
The ideal solution will look something like that:
1. Foe uses skill that runs common event
with notetags that set all the things necessary with Formula Effects;
2. One of notetags gets user's index and puts it in variable X;
3. Common event forces foe in index X to perform skill Y via script call
The problem is, I couldn't find a script calls for getting battler index or "Force action".
I won't be surprised if "get battler index" part is just not possible, so alternative methods are appreciated.
(Not that necessary, just skip to the problem)
I think that default "action patterns" function in the editor is, unreliable, at best.
I don't like many things about it, like only-one-condition rule or enemies picking action on start of the turn (so a guy whose leg I broke will use leg skill because leg was broken just now).
I also just don't... GET skill rating (I just don't, okay, I'm too dumb).
So, after I was told that I'd have to rewrite the whole engine to get rid of "leg skill with broken leg" incidents I did what, I, boy with no coding skills that does common eventing instead, does and made a common event.
And, it actually worked? Using eventing fixed all problems that I had with default pattern system.
So I playtested, made sure everything works as intended, made events for most enemies in the demo and then, finally having functional system, went on to do other stuff.
A bit later, while implementing something else, I realised that most systems that I made, while functionally and fairly flexible, were also confusing as hell to edit and ONLY fairly flexible. So I decided to rearrange things and do some more playtesting. After some time got to remaking enemy pattern system, and while playtesting, I've come to horrific, horrifying conclusion.
Normal battles were not fun at all.
Like yeah, I've got all that funky mechanics and unique encounters are mostly fun to put them to test, but all that means nothing when 90% are against enemies in very monotonous formations of like, 2 or 3 enemies, and all of them all designed to pose threat on their own, so there's not enough variability when it comes to combing them in troops.
So I decided to redesign how encounters work and make enemies more group friendly.
But that means that using "force action" function won't suffice, I just can't say "this foe will always be in index 2", there are too many formations for it to be possible. I could just brute force it and make some convoluted method with 8 events per enemy but, you know, it's not really a good solution.
Problem:
The ideal solution will look something like that:
1. Foe uses skill that runs common event
with notetags that set all the things necessary with Formula Effects;
2. One of notetags gets user's index and puts it in variable X;
3. Common event forces foe in index X to perform skill Y via script call
The problem is, I couldn't find a script calls for getting battler index or "Force action".
I won't be surprised if "get battler index" part is just not possible, so alternative methods are appreciated.