# Move Objective to Beginning
Grammar — Move Objective objective to the beginning of the list
Flags —Native
|Action
Places the objective at the start of the list, causing it to display above all other objectives.
# Arguments
int
[ objective ] — Objective
Returns — void
native void ObjectiveSetLast(int inObjective);
# 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
# mods/novastoryassets.sc2mod
// L2680
ObjectiveSetLast(gv_objectiveDestroyZergBase5)
// L3583
ObjectiveSetLast(gv_objectiveDestroyZergBase)
// L3637
ObjectiveSetLast(gv_objectiveDestroyZergBase7)
// L3639
ObjectiveSetLast(gv_objectiveDestroyZergBase)
// L7101
ObjectiveSetLast(gv_objectiveDestroyZergBase)
// L2680
ObjectiveSetLast(gv_objectiveDestroyZergBase5)
// L3583
ObjectiveSetLast(gv_objectiveDestroyZergBase)
// L3637
ObjectiveSetLast(gv_objectiveDestroyZergBase7)
// L3639
ObjectiveSetLast(gv_objectiveDestroyZergBase)
// L7101
ObjectiveSetLast(gv_objectiveDestroyZergBase)