Other great resources: Official JS API docs, Scripting Forum
Â
Use this global to determine if your script is running in an online multiplayer game, with multiple human players.
trueÂ
falseÂ
You can determine whether players are human or AI using the .isAI property in their associated playerData[] Player object.
if (isMultiplayer) { // multiple human players on the map! }
Requires:
Jump to: