Function; AreAllied - HWRM/KarosGraveyard GitHub Wiki

AreAllied(<iPlayerIndex1>, <iPlayerIndex2>)

Description

Returns true if <iPlayerIndex1> and <iPlayerIndex2> are allies.

Example

if AreAllied(0, 1) == 1 then .. script .. end

Arguments

<iPlayerIndex1>: the index number of Player 1.
<iPlayerIndex2>: the index number of Player 2.

Scope

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial