Difference between revisions of "Variables/Player Group"

From HIVE
Jump to navigation Jump to search
(Created page with 'A Player Group is a group containing Players specified by the map-maker. You are forced to use those from times to times to achieve things such a displaying a message on the scr…')
 
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A Player Group is a group containing Players specified by the map-maker.
+
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.
  
You are forced to use those from times to times to achieve things such a displaying a message on the screen. Indeed, the action "Text Message" displays the message to a Player Group, instead of a Player.
+
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.
 +
 +
[[Category:StarCraft II]]
 
[[Category:Triggers]]
 
[[Category:Triggers]]
[[Category:StarCraft II]]
+
[[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.