Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
These constants group players in various ways. |
Constants
The constants are generally used with chat features (chat() and eventChat()) or game object enumeration (enumRange() or enumArea()).
Constant | Chat | Enums | Notes | Game Version |
---|---|---|---|---|
ALL_PLAYERS | Send message to all players, or get list of all players units/structures | 3.2 | ||
ALLIES | Send message to allies, or get list of allies units/structures | 3.2 | ||
ENEMIES | Get list of enemy units/structures | 3.2 |
Note: You can also send a chat message to an individual player by using their player ID - for more information, see chat() function The functions listed also allow chatting or filtering to a specific player via their player ID.
Div | ||
---|---|---|
| ||
Availability:Requires:
|
Div | ||
---|---|---|
| ||
See alsoChat-related features:
Enumeration-related features:
|