Is there a way to make an "If attacked" statement? Like if i attacked someone something will happen?
This is my first post ever so i dont really know what to do.
You need to be more descriptive about what you want to do.
I assume you're just talking about setting an action or something to happen to a target in battle? What do you want them to do, or what do you want to happen?
I'm not good at explaining so try to stay with me here.
I'm making a scripted battle (Where every turn the enemy says something) But i want the dialog to depend on if the player attacks at all (To determine the outcome of said battle)
But i'm not sure how to do that exactly. (Kind of like a conditional branch but it doesn't have "If attacked" or anything like that in the options)
States and common events most likley. Look into Tsukihimes scripts
The states are used so that the common event knows which branches to go down. These are all undetectable states though