object - commandobject - unit


int IsAlliance(unit uTarget)

Scope: private

Parameters
uTarget - pointer to unit.

Return values
True if object uTarget belongs to our player or is in alliance with us, false otherwise.

Description

See also