I don't know if this topic belongs here because it's somewhat related to events.
If not, then someone please move it.
What I'm trying to do is to check if an actor in a certain position in the party (index) has a certain state inflicted. But I want to use this in a conditional branch in the event editor.
I tried to use this code:
but it gives me an error in Game_Actor script...
Is there some kind of code that can do this? Or it needs an edit or new script for this to work?
If not, then someone please move it.
What I'm trying to do is to check if an actor in a certain position in the party (index) has a certain state inflicted. But I want to use this in a conditional branch in the event editor.
I tried to use this code:
Code:
$game_party.actors[0].state == "Knockout"
Is there some kind of code that can do this? Or it needs an edit or new script for this to work?