I have been developing an idea in my head for a game with a turn-based tactical battle system.
I've made a lot of progress with the system using the built in events, script calls, and a few plugins, and now I'm trying to condense the code so it is easier to bug fix.
Attached is a picture of some code that is designed to check if an actor is in the party, and if so, allow the player to control him in the battle system.
My current code gets the error 'Syntax Error Unexpected token )'
I got the code in the if statement from here.
https://forums.rpgmakerweb.com/index.php?threads/check-if-an-actor-is-in-party.69879/
Did I make a mistake with my code? Or is there a different way that I need to check if an actor is in the party?
I've made a lot of progress with the system using the built in events, script calls, and a few plugins, and now I'm trying to condense the code so it is easier to bug fix.
Attached is a picture of some code that is designed to check if an actor is in the party, and if so, allow the player to control him in the battle system.
My current code gets the error 'Syntax Error Unexpected token )'
I got the code in the if statement from here.
https://forums.rpgmakerweb.com/index.php?threads/check-if-an-actor-is-in-party.69879/
Did I make a mistake with my code? Or is there a different way that I need to check if an actor is in the party?