Do flags hold separate values for each player? E.g. if I write SET_FLAG(PLAYER0,FLAG0,1) will FLAG0 then only be set to 1 for red keeper? Otherwise 8 flags isn't much to work with, although I could still make my map work, but it changes things.
Do flags hold separate values for each player? E.g. if I write SET_FLAG(PLAYER0,FLAG0,1) will FLAG0 then only be set to 1 for red keeper? Otherwise 8 flags isn't much to work with, although I could still make my map work, but it changes things.
Last edited by Argonil; September 14th, 2020 at 06:40.
Yes, changing the value for a flag with a specific player does not change the value of a flag of the same number that is assigned to another player.
So in your example this will not affect PLAYER1 FLAG0´s values.
In fact, the flags are unrelated to the players. player0,flag1 can be used just as well for player 3. And the campaign_flags can be used as well, they work the same way and are again separate from the flags.