Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ValueTypeDescription
trueBooleanIndicates that the two players are allied with each other
falseBooleanThe two players are enemies of each other
<error>ErrorOne of the players specified does not exist

Example

Code Block
themeEclipse
languagejavascript
titleShould I attack the other player?
linenumberstrue
if (!allianceExistsBetween(me,theOtherPlayer)) attackTheOtherPlayer();

...