Difference between revisions of "Variables/Player Group"

From HIVE
Jump to navigation Jump to search
Line 1: Line 1:
A Player Group is [[Variable types#complex|complex]] [[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.
+
A Player Group is [[Variable Types#complex|complex]] [[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.
  
 
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.
 
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.

Revision as of 07:25, 28 May 2011

A Player Group is complex 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.

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 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. There is however a simple function that creates a group of one given player, exactly for these situations.