Alright, this may be confusing to some people, so I'll try to keep it as clear as possible.
Okay, in the game, there are 8 different bases with 8 different players. And inside these bases, there is a setting called "Base Control" and another setting that you can use that is called "Harvester Control" (Which is used for resources".
Now, the harvester control is a teleporter and may only be used after controlling a base.
Once you enter the "harvester control", you will be randomly teleported to one of EIGHT (8) "harvester areas". Now, that's not too hard to code, but the problem I am having is actually LINKING these teleporters with eachother.
What I mean by linking, is that when the unit enters the "Harvester control" he will be assigned already to that random "harvester area" that he had entered previously, and then can enter as many of his units inside that area.
Now, if this doesn't make enough sense already, please do not continue reading because it gets more complicated.
This is supposed to work for 8 different players and 8 different bases that are controlled by these players. They all have the ability to close/open their "harvester area" or "bases" from other players.
The other problem that I have, is that I want to make it so that when you enter a different player's "harvester control" (which is the teleporter you take to get to the "harvester area") you will be taken to THEIR "harvester area" and not your own.
So basically, you can only access your "harvester area" by entering the "harvester control" (teleporter) inside your own base and then can access other player's by going to their teleporter.
If that makes sense to you, I have been trying a LOT of different ways for this to work, and it all seems to just mess up for me.
So if you guys can help me, please reply. If you need me to post any code (in this case it is used in GUI), please do.
I have all the variables ready, and I'm trying to assign these teleporters (or trying to link them) using grouping variables.
Okay, in the game, there are 8 different bases with 8 different players. And inside these bases, there is a setting called "Base Control" and another setting that you can use that is called "Harvester Control" (Which is used for resources".
Now, the harvester control is a teleporter and may only be used after controlling a base.
Once you enter the "harvester control", you will be randomly teleported to one of EIGHT (8) "harvester areas". Now, that's not too hard to code, but the problem I am having is actually LINKING these teleporters with eachother.
What I mean by linking, is that when the unit enters the "Harvester control" he will be assigned already to that random "harvester area" that he had entered previously, and then can enter as many of his units inside that area.
Now, if this doesn't make enough sense already, please do not continue reading because it gets more complicated.
This is supposed to work for 8 different players and 8 different bases that are controlled by these players. They all have the ability to close/open their "harvester area" or "bases" from other players.
The other problem that I have, is that I want to make it so that when you enter a different player's "harvester control" (which is the teleporter you take to get to the "harvester area") you will be taken to THEIR "harvester area" and not your own.
So basically, you can only access your "harvester area" by entering the "harvester control" (teleporter) inside your own base and then can access other player's by going to their teleporter.
If that makes sense to you, I have been trying a LOT of different ways for this to work, and it all seems to just mess up for me.
So if you guys can help me, please reply. If you need me to post any code (in this case it is used in GUI), please do.
I have all the variables ready, and I'm trying to assign these teleporters (or trying to link them) using grouping variables.