# Beacon Get Target Point
Flags —
Native
|Function
Gets the target point of the specified beacon.
# Arguments
int
— Playerint
[ preset::AIBeaconType ] — Beacon
Returns — point
native point PlayerBeaconGetTargetPoint(
int inPlayer,
int inBeacon,
);
# Related
Category: AI Advanced / Beacons / Functions
- [F] —
bool
— Beacon Is Auto Cast — ( PlayerBeaconIsAutoCast ) - [F] —
bool
— Beacon Is From User — ( PlayerBeaconIsFromUser ) - [F] —
bool
— Beacon Is Set — ( PlayerBeaconIsSet ) - [F] —
point
— Beacon Get Target Point — ( PlayerBeaconGetTargetPoint ) - [F] —
unit
— Beacon Get Target Unit — ( PlayerBeaconGetTargetUnit ) - [F] —
int
— Beacon Get Num Allies — ( PlayerBeaconGetNumAllies ) - [F] —
int
— Beacon Get Ally PlayerId — ( PlayerBeaconGetAllyPlayerId ) - [F] —
int
— Beacon Num Minerals Requested — ( PlayerBeaconRequestedMinerals ) - [F] —
int
— Beacon Num Vespene Requested — ( PlayerBeaconRequestedVespene )
# Examples
# mods/core.sc2mod
// L1068
PlayerBeaconGetTargetPoint(player, c_beaconDetect)
// L1048
PlayerBeaconGetTargetPoint(player, c_beaconDetect)
# mods/warcoop/warclassicsystem.sc2mod
// L324
PlayerBeaconGetTargetPoint(player, c_beaconDetect)