# Beacon Get Ally PlayerId
Flags —
Native|Function
Get playerId for the given beacon ally.
# Arguments
int— Playerint— AllyNum
Returns — int
native int PlayerBeaconGetAllyPlayerId(
int inPlayer,
int allyNum,
);
# Related
Category: AI Advanced / Beacons / Functions
- Beacon Is Auto Cast —
bool— PlayerBeaconIsAutoCast - Beacon Is From User —
bool— PlayerBeaconIsFromUser - Beacon Is Set —
bool— PlayerBeaconIsSet - Beacon Get Target Point —
point— PlayerBeaconGetTargetPoint - Beacon Get Target Unit —
unit— PlayerBeaconGetTargetUnit - Beacon Get Num Allies —
int— PlayerBeaconGetNumAllies - Beacon Get Ally PlayerId —
int— PlayerBeaconGetAllyPlayerId - Beacon Num Minerals Requested —
int— PlayerBeaconRequestedMinerals - Beacon Num Vespene Requested —
int— PlayerBeaconRequestedVespene
# Examples
— None found —