Does anyone have an example of how they would accomplish selecting a character/item/etc. and then being able to determine what order they interact with the game? The best example would be in an RPG where you have 8 characters and need to create a team of 3 where there's a 1st, 2nd and 3rd place order for your team to take actions.
I'm sure I've got this to work before but I want to know if there's an easier way I haven't thought about. Any help would be appreciated.
Develop games in your browser. Powerful, performant & highly capable.
Set each of them a variable Order from 1 to 8
Have a variable named orderAttack = 1
Pick Character have Order = ortherAttack => Do Action
Add 1 into orderAttack when character completed action.
When orderAttack = 8, set it back to 1.
Cheers.