# Set Objective Type
Grammar — Make objective a primary objective
Flags —Native
|Action
Sets the type for an objective.
# Arguments
int
<objective> — Objectivebool
<preset::Objective_Type> — Type
Returns — void
native void ObjectiveSetPrimary(
int inObjective,
bool inPrimary,
);
# 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 —