# Set Objective Players
Grammar — Set objective players to players
Flags —Native|Action
Makes the specified objective visible to the specified player group and only the specified player group. If the objective was previously visible to a player that is outside this group, it will now become hidden for that player.
# Arguments
int<objective> — Objectiveplayergroup— Players
Returns — void
native void ObjectiveSetPlayerGroup(
int inObjective,
playergroup inPlayers,
);
# Related
Category: Objective / Advanced
- Set Objective Priority —
void— ObjectiveSetPriority - Set Objective Description —
void— ObjectiveSetDescription - Set Objective Players —
void— ObjectiveSetPlayerGroup - Set Objective Text —
void— ObjectiveSetName - Set Objective Type —
void— ObjectiveSetPrimary - Move Objective to Beginning —
void— ObjectiveSetLast - Move Objective to End —
void— ObjectiveSetFirst - Move Objective to after Objective —
void— ObjectiveSetAfter - Move Objective to before Objective —
void— ObjectiveSetBefore - Objective Text —
text— ObjectiveGetName - Objective Description —
text— ObjectiveGetDescription - Objective Players —
playergroup— ObjectiveGetPlayerGroup - Objective Primary —
bool— ObjectiveGetPrimary - Objective Priority —
int— ObjectiveGetPriority - Destroy Objective —
void— ObjectiveDestroy - Destroy All Objectives —
void— ObjectiveDestroyAll
# Examples
— None found —