# Beacon Is Set

FlagsNative | Function

Is the specified beacon currently enabled.

# Arguments

Returns — bool

native bool PlayerBeaconIsSet(int inPlayer, int inBeacon);

Category: AI Advanced / Beacons / Functions

# Examples

# mods/core.sc2mod

MeleeHighAI.galaxy

// L180
PlayerBeaconIsSet(player, c_beaconScout)
// L182
PlayerBeaconIsSet(player, c_beaconScout)

# mods/core.sc2mod

MeleeLowAI.galaxy

// L145
PlayerBeaconIsSet(player, c_beaconScout)
// L416
PlayerBeaconIsSet(player, c_beaconDetect)
// L558
PlayerBeaconIsSet(player, c_beaconDetect)
// L700
PlayerBeaconIsSet(player, c_beaconDetect)

# mods/core.sc2mod

MeleeWaveAI.galaxy

// 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

SharedAI.galaxy

// L12
PlayerBeaconIsSet(player, c_beaconDetect)

# mods/core.sc2mod

TactTerrAI.galaxy

// L1067
PlayerBeaconIsSet(player, c_beaconDetect)

# mods/core.stormmod

SharedAI.galaxy

// L12
PlayerBeaconIsSet(player, c_beaconDetect)

# mods/liberty.sc2mod

Protoss.galaxy

// L133
PlayerBeaconIsSet(player, c_beaconScout)
// L139
PlayerBeaconIsSet(player, c_beaconScout)

# mods/liberty.sc2mod

Terran.galaxy

// L152
PlayerBeaconIsSet(player, c_beaconScout)
// L158
PlayerBeaconIsSet(player, c_beaconScout)

# mods/liberty.sc2mod

Zerg.galaxy

// L161
PlayerBeaconIsSet(player, c_beaconScout)
// L167
PlayerBeaconIsSet(player, c_beaconScout)

# mods/starcoop/starcoop.sc2mod

TactTerrAI.galaxy

// L1047
PlayerBeaconIsSet(player, c_beaconDetect)

# mods/swarm.sc2mod

Protoss.galaxy

// L158
PlayerBeaconIsSet(player, c_beaconScout)
// L164
PlayerBeaconIsSet(player, c_beaconScout)

# mods/swarm.sc2mod

Terran.galaxy

// L158
PlayerBeaconIsSet(player, c_beaconScout)
// L164
PlayerBeaconIsSet(player, c_beaconScout)

# mods/swarm.sc2mod

Zerg.galaxy

// L167
PlayerBeaconIsSet(player, c_beaconScout)
// L173
PlayerBeaconIsSet(player, c_beaconScout)

# mods/void.sc2mod

MeleeHighAI.galaxy

// L180
PlayerBeaconIsSet(player, c_beaconScout)
// L182
PlayerBeaconIsSet(player, c_beaconScout)

# mods/void.sc2mod

Protoss.galaxy

// L167
PlayerBeaconIsSet(player, c_beaconScout)
// L173
PlayerBeaconIsSet(player, c_beaconScout)

# mods/void.sc2mod

Terran.galaxy

// L164
PlayerBeaconIsSet(player, c_beaconScout)
// L170
PlayerBeaconIsSet(player, c_beaconScout)

# mods/void.sc2mod

Zerg.galaxy

// L173
PlayerBeaconIsSet(player, c_beaconScout)
// L179
PlayerBeaconIsSet(player, c_beaconScout)

# mods/warcoop/warclassicsystem.sc2mod

TacticalAIWar3.galaxy

// L323
PlayerBeaconIsSet(player, c_beaconDetect)

# mods/warcoop/warmeleeai.sc2mod

MeleeSC.galaxy

// L158
PlayerBeaconIsSet(player, c_beaconScout)
// L164
PlayerBeaconIsSet(player, c_beaconScout)

# mods/warcoop/warmeleeai.sc2mod

MeleeWaveAI.galaxy

// 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

Orc.galaxy

// L556
PlayerBeaconIsSet(player, c_beaconScout)
// L561
PlayerBeaconIsSet(player, c_beaconScout)