I'm trying to create a skill called "Confess" which in effect would make the enemy say something every time the skill is used. Different enemies should of course say different things. How would I start doing this? I've been trying different stuff with the troop events and common events, but haven't figured out a way. I think one way would be to check the enemy type with a conditional branch, but I'm not sure how to do this either.
Any help would be appreciated!
I noticed you posted under script requests. Did you want a script for this? If not I think you could just set it so that each enemy it selects a random line from a pool, though I doubt you will be able to make it not repeat unless you have it go in a fixed order.
regardless of how you implement the system, the system will only be as complex as the total lot of lines that anyone can speak.
let alone the logic for the system itself..... do you even have a selection of lines related to a back story?
that's how you *start* doing it, by establishing a rough conversation.
from there, you get to drive that conversation, and from there, you set the scene to initially *trigger* that conversation.
That doesn't sound like it needs scripting, unless you just want to ease the tedious work.
Add common event to the skill, add a special state like "Confess" (can make it invisible if you want), and inside the common event, lies a conditional branch for every single enemy, that checks if that specific enemy is currently under confess state, and make it say a random line from selection.