Returns whether a unit can be summoned via Recruit-a-Friend. Indicates whether the target unit is currently summonable, not just whether that unit's account is linked to the player's via the Recruit-A-Friend program.
See also Recruit-a-friend functions.
Signature:
canSummon
=
CanSummonFriend("name")
or
CanSummonFriend("unit")
Arguments:
name
- Exact name of a player to summon (string
)unit
- A unit to summon (string
, unitID)
Returns:
canSummon
- 1 if the unit can be summoned, otherwise nil (1nil
)