My questions seems trivial but couldn't find any rational explanation.
Look this :
It's a 2 player board game where tiles are clicked and the id of the tile does something (here tile = 23).
"spies" is a spyglass that shows the other player. I often use this trick, to get the other player ID by doing a "1 - currentPlayer", wich give "0" for "1" and "1" for "0".
I used this some other times in the game events (even in this one), but now I want to use it in a condition (on "slots", to retrieve the slot that correspond to the other player), the calcul doen't seem to "work", ie it did not execute the event "spies set Y".
I did some tries in the condition :
slots (where) playerID = 1 - currentPlayer => NOT OK
slots (where) playerID = currentPlayer - 1 => NOT OK
slots (where) playerID = int(1 - currentPlayer) => NOT OK
slots (where) playerID = currentPlayer - 0 => OK
slots (where) playerID = currentPlayer => OK[/code:rm1qhsll]
Any help on this easy strange problem appreciated ^^
Thanks
PS : 100 events reached