How would i go about making a state that links actors, as in, if actor 1 gets healed, so does actor 2, and if actor 1 gets hit, so does actor 2.
I've searched for a bit and i havent found anything really helpful
ok, well, im kinda confused
it didnt work but thats probably because of my incopetence, do i have to make anything in the skill notes or something like that?
No, this should work without any skill notetags. Double check that you have replaced all instances of switchId and stateId. Double check that the switch is actually available and not used for anything else.
For this to work the state needs to be applied to both linked party members. If only one party member has the state, this code will indeed do nothing.
If all this fails, post screenshots of your skill and state setup. And make sure your Yanfly plugins are in the proper order.
Did you install the plugin I said you needed? Without that, just putting code into a note field won't do anything.
Also, any time you change anything in your project, you need to start a new game, you can't load a save.
Finally, it's best to test in a real game once plugins get involved. I would expect this to work in the battle test, but many plugins don't work correctly there so it's always better to do it in the play test.