PlayerGroupAll
native playergroup PlayerGroupAll();
Playergroup that contains all the players
Return value
playergroup - Playergroup that contains all the players
Examples
- Example #1: Send message to everyone
// Send a message to everyone in the subtitle area UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, StringToText("Hello From SC2 Mapster"));
- Example #2: Clear screen area
// Fill an area with a lot of blanks to remove all the messages // currently active in that area void UIClearScreenArea(int area) { int i = 0; while (i <= 20) { UIDisplayMessage(PlayerGroupAll(), area, StringToText(" ")); i += 1; } }