# Objective Is Visible

Grammarobjective is visible for player player
FlagsNative | Function

Returns true if the objective is visible for the specified player.

# Arguments

  • int [ objective ] — Objective
  • int — Player

Returns — bool

native bool ObjectiveVisible(
	int inObjective,
	int inPlayer,
);

Category: Objective / Basic

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L6475
ObjectiveVisible(gv_objectiveDestroyZergBase3, gv_pLAYER_01_USER)
// L6475
ObjectiveVisible(gv_objectiveDestroyZergBase3, gv_pLAYER_01_USER)
// L6980
ObjectiveVisible(gv_objectiveDestroyZergBase2, gv_pLAYER_01_USER)
// L6984
ObjectiveVisible(gv_objectiveDestroyZergBase4, gv_pLAYER_01_USER)
// L6980
ObjectiveVisible(gv_objectiveDestroyZergBase2, gv_pLAYER_01_USER)
// L6984
ObjectiveVisible(gv_objectiveDestroyZergBase4, gv_pLAYER_01_USER)