For some reason GE won't allow it anymore. I say anymore because in my old versions of the map I'm working on it worked just fine.
Basically I am able to define a global variable but I cannot set it if it's in the function of Pick Player in Player Groups and then using respective indexes. Any ideas of what's wrong here
For instance this would cause me an error for some reason:
Player Group - Pick each player in HumanPlayers and do (Actions)
Actions
Variable - Set PlayerName[(Picked player)] = (Name of player (Picked player))
What I would if I tried to include that trigger as soon as I test my map would be:
An error occured starting StarCraft II, please try again.
Yes I'm sure. My variables can hold 13 index yet I'm only using 12 (12 players). I even ran a test and the loop is run twelve (12) times. So that's not the problem.
For some reason GE won't allow it anymore. I say anymore because in my old versions of the map I'm working on it worked just fine. Basically I am able to define a global variable but I cannot set it if it's in the function of Pick Player in Player Groups and then using respective indexes. Any ideas of what's wrong here
For instance this would cause me an error for some reason:
Player Group - Pick each player in HumanPlayers and do (Actions) Actions Variable - Set PlayerName[(Picked player)] = (Name of player (Picked player))
What I would if I tried to include that trigger as soon as I test my map would be: An error occured starting StarCraft II, please try again.
@DanOwl: Go
Are you sure you're not using an index out of bounds?
@Ultimaswc3: Go
Yes I'm sure. My variables can hold 13 index yet I'm only using 12 (12 players). I even ran a test and the loop is run twelve (12) times. So that's not the problem.
Why are you storing the names of the players in your own array anyway when the name of player function does the same thing.