Posted by Foobs
in N00BSaibot718 (Started by Odb718 July 18, 2024, 02:57:28 pm
Board: Edits & Addons 1.0+
Board: Edits & Addons 1.0+
I'd prefer if it didn't knock the ally out of their current state and if it didn't effect the enemy but I can live if that can't really be helpedI think this can't be avoided in mugen, except maybe through the reversaldef bug.
Okay, I'm now very certain that the written state controller IDs have zero effect and it's all about the order they're placed in the CNS file.That is correct. Their labeling is irrelevant, you can name every single block "[state 69, big whoop]" and it won't have any impact. Statedef 101 only ends when you define the next statedef header, not when you name a block "[state 102, whatever]". People frequently copy paste code from different states without bothering to change the numbers.
One thing I'm wondering now is how state overrides work. If I have state 100 in both commons1.cns and king.cns, which controllers will be run? The ones in common1.cns and king.cns, or only the ones in king.cns?Character specific files take priority over the common files, so in your example the statedef 100 defined in king.cns overrides common1.cns