# 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
- [F] —
void
— Set Objective Priority — ( ObjectiveSetPriority ) - [F] —
void
— Set Objective Description — ( ObjectiveSetDescription ) - [F] —
void
— Set Objective Players — ( ObjectiveSetPlayerGroup ) - [F] —
void
— Set Objective Text — ( ObjectiveSetName ) - [F] —
void
— Set Objective Type — ( ObjectiveSetPrimary ) - [F] —
void
— Move Objective to Beginning — ( ObjectiveSetLast ) - [F] —
void
— Move Objective to End — ( ObjectiveSetFirst ) - [F] —
void
— Move Objective to after Objective — ( ObjectiveSetAfter ) - [F] —
void
— Move Objective to before Objective — ( ObjectiveSetBefore ) - [F] —
text
— Objective Text — ( ObjectiveGetName ) - [F] —
text
— Objective Description — ( ObjectiveGetDescription ) - [F] —
playergroup
— Objective Players — ( ObjectiveGetPlayerGroup ) - [F] —
bool
— Objective Primary — ( ObjectiveGetPrimary ) - [F] —
int
— Objective Priority — ( ObjectiveGetPriority ) - [F] —
void
— Destroy Objective — ( ObjectiveDestroy ) - [F] —
void
— Destroy All Objectives — ( ObjectiveDestroyAll )
# Examples
— None found —