having this freaking annoying bug which I, for some reason, cannot work around using onCPReset differently.
basically onCPReset is malfunctioning. I have five named bricks A through E (simplified example of my issue).
On each CP I tell it onCPReset to either setCPLocked>All>unchecked, or All>checked. A and B are unchecked, and C-E are checked.
In addition, on capture of B, A is locked and C is unlocked, or vice versa (depending on the team). This forces the game to be "linear" and prevents players from capturing CP's out of order. These events work fine.
However, on a minigame reset, these CP's retain their last known state from the previous game, but reset back to their original team colors. Only on a double reset do these CP's fully reset.
Attempt to use a workaround by using an onPlayerTouch brick failed as onCPReset fails to recollision the brick, even if the event is applied to a valid CP.
If it helps any, I have around 40 CP's due to mismanagement; would that impact this at all?
And, as a suggestion, add an onMinigameReset for simplification in the future, if you can.