...
Value | Type | Description |
---|---|---|
true | Boolean | Indicates that the two players are allied with each other |
false | Boolean | The two players are enemies of each other |
<error> | Error | One of the players specified does not exist |
Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
if (!allianceExistsBetween(me,theOtherPlayer)) attackTheOtherPlayer(); |
...