I just picked up VXAce this past week and I'm having a lot of fun. I did the awesome tutorial by Kelsper (you can find it here but I stopped polishing and balancing so I could move on to a game of my own for more learning) and have been going through the forums and reading stuff and playing unencrypted games so I could figure out stuff on my own, but I do have a question I haven't been able to figure out yet:
I want to create a skill that allows the party a guaranteed escape (even in "unescapable" battles), but the enemies will attack the user.
I set up the skill (Distraction) to call a common event which forces all the battlers to attack, throws up some text ("You escape!") and then aborts the battle.
For the life of me, I can't figure out how to get the battlers to consistently attack the person using the skill. I set up a state called Target which increases the user's TGR by 1000%, but I don't think it's getting applied. It looks like the common event is getting called before the state gets applied. Here's what I've got so far:
Skill:
Spoiler

Spoiler

Spoiler

A related issue is that it seems that the state is not getting applied before the event is called. I'm not seeing the state message or icon before the enemies attack.
I want to be sure that the baddies attack the person providing the distraction, no matter where in the formation he is.
The only thing i can think of is using a script to get the user's formation ID, then have the battlers attack that formation ID. But I can't find anywhere that showed me how to find the formation ID of the acting character. I'm familiar with programming, but not with Ruby, so I can more or less understand what I'm reading, but I wouldn't know how to write it.
Thanks for any and all help. :)
-C
