Howdy
Working on my first project and I'm trying to do a scripted tutorial battle to teach the player the basic mechanics.
Essentially running through stages where the tutorial monster is waiting for the player to select a specific command.
So the first one involves waiting for an attack before moving into stage 2 where it tries to detect whether the player is guarding.
This is where I'm having massive trouble, I've some ways around it but I just can't get the enemy to detect when the player uses "Guard". I feel the answer is simple and just eluding me by the slightest amount.
Can anyone help with any suggestion for this?
All help appreciated thanks.
Scripted Battle: Detecting "Guard".
● ARCHIVED · READ-ONLY
-
-
In ace the guard command by default applies a state (state 6 I believe) so all you'd have to do at that point is check for the guard state being applied. Of course, by default said state only lasts the turn it is selected, so the checking would have to be done by a moment to moment basis.
-
Hmm pretty sure I tried that first.
Used an "If" conditional with If "Guard" is inflicted then....
I'll try and remake the original scripting I tried, maybe there was an obvious flaw in how I made it. -
Yeah I'd definitely tried setting it to detect when Guard is inflicted. Lets see again.
Conditional Branch: (Actor) is (Guard) Inflicted.
> Control Switches: [005:Guarding] = ON
Then I place a condition on the next page of the battle event
Condition: Switch [005:Guarding] is ON
However by my estimations it's not detecting guard as "Inflicted" when I select the guard command. -
Pierre42, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.
Just edit your post to add more information if nobody else has posted since.
Be careful using the term 'scripted' - scripts and events are completely different things.
I seem to remember there BEING a script out there that would let you set up a battle tutorial sort of thing. Maybe search the Master Script List if you want to consider going that way. -
Yeah, I made a tutorial similar to what you're describing, and was definitely able to simply do a conditional branch check for whether the character had the Guard state applied. The Condition was the beginning of a specific turn, and the span was Battle, in my case.
If you are sure this is what you're trying, but can't get it to trigger during battle, give us a screenshot of the setup.