Difference between revisions of "Variables/Player Group"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | A Player Group is [[Variable | + | A Player Group is a [[Variable]] type, that represents a group of up to 16 players. Each player can only be present once, and they are always in order of their player indexes. |
− | + | The most obvious use of Player Groups is for teams, but they can be used to contain any combination of players that you might find useful. | |
− | You are forced to use those from | + | You are forced to use those from time to time to achieve certain [[Actions]]. Note there is, however, a simple function that creates a group of one given player as well. |
+ | [[Category:StarCraft II]] | ||
[[Category:Triggers]] | [[Category:Triggers]] | ||
− | |||
[[Category:Reference]] | [[Category:Reference]] |
Latest revision as of 10:15, 27 March 2013
A Player Group is a Variable type, that represents a group of up to 16 players. Each player can only be present once, and they are always in order of their player indexes.
The most obvious use of Player Groups is for teams, but they can be used to contain any combination of players that you might find useful.
You are forced to use those from time to time to achieve certain Actions. Note there is, however, a simple function that creates a group of one given player as well.