I thought about giving players some kind of these numbers, idk the name of these numbers:
1, 2, 4, 8, 16, 32, 64, 128, 256, 1028 (10 players) to make a claiming system like this:
Each claimable area has it's own variable and when the variable has the values of 3, player 1 and 2 should be able to build in there, if it has the value of 32 only player 6 is able to build in there, now I've thought about this but I actually have 0 idea how to deal with that that each player gets the unique ID in a variable and also that the area variable is getting edited and those values for whoever who's with his main unit, a created unit by triggers, in the area and types -claim, and with -share (red-lightblue) he can assign the players the allows to build with him.
the thing Idk about now is to make the command,
function whos checking whos allowed to build in the region,
and the variables for the values,
the created unit somehow needs to be attached to a player in a varible, so I can check that the created unit is in the region.
If anybody can help me with that, I'd be so thankful.
1, 2, 4, 8, 16, 32, 64, 128, 256, 1028 (10 players) to make a claiming system like this:
Each claimable area has it's own variable and when the variable has the values of 3, player 1 and 2 should be able to build in there, if it has the value of 32 only player 6 is able to build in there, now I've thought about this but I actually have 0 idea how to deal with that that each player gets the unique ID in a variable and also that the area variable is getting edited and those values for whoever who's with his main unit, a created unit by triggers, in the area and types -claim, and with -share (red-lightblue) he can assign the players the allows to build with him.
the thing Idk about now is to make the command,
function whos checking whos allowed to build in the region,
and the variables for the values,
the created unit somehow needs to be attached to a player in a varible, so I can check that the created unit is in the region.
If anybody can help me with that, I'd be so thankful.