Those are called arrays.
I am not to good at explaining how it works but basiclly its a variable inside a variable.
Lets say that we have a unit aray like this:
So when a unit dies the variable count will add +1 to its self.
Then it will set the unit array to hold the dying unit.
unit[1] = Footman
unit[2] = Footman
unit[3] = Grunt
unit[4] = Footman
unit[5] = Shaman
Not sure if that was your question but oh well ^^
Edit: Poolplayer is a PLAYER variable. It is just converted to a integer then into a string.
I am not to good at explaining how it works but basiclly its a variable inside a variable.
Lets say that we have a unit aray like this:
Code:
Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
Actions
Set count = (count + 1)
Set unit[count] = (Dying unit)
So when a unit dies the variable count will add +1 to its self.
Then it will set the unit array to hold the dying unit.
unit[1] = Footman
unit[2] = Footman
unit[3] = Grunt
unit[4] = Footman
unit[5] = Shaman
Not sure if that was your question but oh well ^^
Edit: Poolplayer is a PLAYER variable. It is just converted to a integer then into a string.