# Set Objective Description
Grammar — Set objective description to description
Flags —Native
|Action
Sets the description of an objective.
# Arguments
int
<objective> — Objectivetext
— Description
Returns — void
native void ObjectiveSetDescription(
int inObjective,
text inText,
);
# 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
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1069
}
UnitSetState(gv_kerrigan, c_unitStateSelectable, false);
ObjectiveSetDescription(gv_objectiveDestroyDominionBase2, libSwaC_gf_MissionObjectiveDescription("ZHybrid03Objective02"));
TriggerExecute(gt_NullZone10Q, true, false);
TriggerExecute(gt_CorrosiveBlastQ, true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:3806
gv_objectiveDestroyDominionBase2 = ObjectiveLastCreated();
ObjectiveSetPriority(ObjectiveLastCreated(), 0);
ObjectiveSetDescription(ObjectiveLastCreated(), StringExternal("Param/Value/C010B197"));
Wait(libSwaC_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:1069
}
UnitSetState(gv_kerrigan, c_unitStateSelectable, false);
ObjectiveSetDescription(gv_objectiveDestroyDominionBase2, libSwaC_gf_MissionObjectiveDescription("ZHybrid03Objective02"));
TriggerExecute(gt_NullZone10Q, true, false);
TriggerExecute(gt_CorrosiveBlastQ, true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:3806
gv_objectiveDestroyDominionBase2 = ObjectiveLastCreated();
ObjectiveSetPriority(ObjectiveLastCreated(), 0);
ObjectiveSetDescription(ObjectiveLastCreated(), StringExternal("Param/Value/C010B197"));
Wait(libSwaC_gv_campaignObjectiveDelay, c_timeReal);
return true;