Hello! I'm making my own on-map battleyish system, and using non-party actors for enemyish templates (I call ECs), I'm trying to make a parallel process event on the map that checks if that non party actor has a state and if not, use an action that gives it that state.
I have a script line in a condtional branch: v172 is the Actor ID, v173 is State ID I'm checking for
$game_actors[$game_variables[172]].state?($game_variables[173])
I tried isolating the problem I'm having, this is a simplified version of the parallel process event still with the problem:
oops it's look like cow
It works normal if that actor I'm checking is in the party (which I don't want, it's an enemyish! 😛) but if it's not in the party the first time it will work right once (add the state and no more after that) but if I use the "change state" command to remove the state, after that it will just repeatedly try to add the state with the action I made and that conditional branch check will always come back as not having the state.
I also tried using these parts just with a "action button" event and used "show choices" to add/remove the state, and used that same conditional branch to check if that non party actor has that state and it always works right, Is the way I have it tripping over itself as a parallel process?
If you could help, that'd be great thank you!
I have a script line in a condtional branch: v172 is the Actor ID, v173 is State ID I'm checking for
$game_actors[$game_variables[172]].state?($game_variables[173])
I tried isolating the problem I'm having, this is a simplified version of the parallel process event still with the problem:
oops it's look like cow
It works normal if that actor I'm checking is in the party (which I don't want, it's an enemyish! 😛) but if it's not in the party the first time it will work right once (add the state and no more after that) but if I use the "change state" command to remove the state, after that it will just repeatedly try to add the state with the action I made and that conditional branch check will always come back as not having the state.
I also tried using these parts just with a "action button" event and used "show choices" to add/remove the state, and used that same conditional branch to check if that non party actor has that state and it always works right, Is the way I have it tripping over itself as a parallel process?
If you could help, that'd be great thank you!