# Beacon Is Set
Flags —
Native
|Function
Is the specified beacon currently enabled.
# Arguments
int
— Playerint
[ preset::AIBeaconType ] — Beacon
Returns — bool
native bool PlayerBeaconIsSet(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
// L180
PlayerBeaconIsSet(player, c_beaconScout)
// L182
PlayerBeaconIsSet(player, c_beaconScout)
# mods/core.sc2mod
// L145
PlayerBeaconIsSet(player, c_beaconScout)
// L416
PlayerBeaconIsSet(player, c_beaconDetect)
// L558
PlayerBeaconIsSet(player, c_beaconDetect)
// L700
PlayerBeaconIsSet(player, c_beaconDetect)
# mods/core.sc2mod
// L125
PlayerBeaconIsSet(player, c_beaconArmy)
// L159
PlayerBeaconIsSet(player, c_beaconArmy)
// L203
PlayerBeaconIsSet(player, c_beaconArmy)
// L287
PlayerBeaconIsSet(player, c_beaconArmy)
// L372
PlayerBeaconIsSet(player, c_beaconArmy)
// L635
PlayerBeaconIsSet(player, c_beaconArmy)
# mods/core.sc2mod
// L12
PlayerBeaconIsSet(player, c_beaconDetect)
# mods/core.sc2mod
// L1067
PlayerBeaconIsSet(player, c_beaconDetect)
# mods/core.stormmod
// L12
PlayerBeaconIsSet(player, c_beaconDetect)
# mods/liberty.sc2mod
// L133
PlayerBeaconIsSet(player, c_beaconScout)
// L139
PlayerBeaconIsSet(player, c_beaconScout)
# mods/liberty.sc2mod
// L152
PlayerBeaconIsSet(player, c_beaconScout)
// L158
PlayerBeaconIsSet(player, c_beaconScout)
# mods/liberty.sc2mod
// L161
PlayerBeaconIsSet(player, c_beaconScout)
// L167
PlayerBeaconIsSet(player, c_beaconScout)
# mods/starcoop/starcoop.sc2mod
// L1047
PlayerBeaconIsSet(player, c_beaconDetect)
# mods/swarm.sc2mod
// L158
PlayerBeaconIsSet(player, c_beaconScout)
// L164
PlayerBeaconIsSet(player, c_beaconScout)
# mods/swarm.sc2mod
// L158
PlayerBeaconIsSet(player, c_beaconScout)
// L164
PlayerBeaconIsSet(player, c_beaconScout)
# mods/swarm.sc2mod
// L167
PlayerBeaconIsSet(player, c_beaconScout)
// L173
PlayerBeaconIsSet(player, c_beaconScout)
# mods/void.sc2mod
// L180
PlayerBeaconIsSet(player, c_beaconScout)
// L182
PlayerBeaconIsSet(player, c_beaconScout)
# mods/void.sc2mod
// L167
PlayerBeaconIsSet(player, c_beaconScout)
// L173
PlayerBeaconIsSet(player, c_beaconScout)
# mods/void.sc2mod
// L164
PlayerBeaconIsSet(player, c_beaconScout)
// L170
PlayerBeaconIsSet(player, c_beaconScout)
# mods/void.sc2mod
// L173
PlayerBeaconIsSet(player, c_beaconScout)
// L179
PlayerBeaconIsSet(player, c_beaconScout)
# mods/warcoop/warclassicsystem.sc2mod
// L323
PlayerBeaconIsSet(player, c_beaconDetect)
# mods/warcoop/warmeleeai.sc2mod
// L158
PlayerBeaconIsSet(player, c_beaconScout)
// L164
PlayerBeaconIsSet(player, c_beaconScout)
# mods/warcoop/warmeleeai.sc2mod
// L232
PlayerBeaconIsSet(player, c_beaconArmy)
// L255
PlayerBeaconIsSet(player, c_beaconArmy)
// L296
PlayerBeaconIsSet(player, c_beaconArmy)
// L376
PlayerBeaconIsSet(player, c_beaconArmy)
// L720
PlayerBeaconIsSet(player, c_beaconArmy)
# mods/warcoop/warmeleeai.sc2mod
// L556
PlayerBeaconIsSet(player, c_beaconScout)
// L561
PlayerBeaconIsSet(player, c_beaconScout)