# 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
- [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
# campaigns/swarm.sc2campaign
// L1069
ObjectiveSetDescription(gv_objectiveDestroyDominionBase2, libSwaC_gf_MissionObjectiveDescription("ZHybrid03Objective02"))
// L3806
ObjectiveSetDescription(ObjectiveLastCreated(), StringExternal("Param/Value/C010B197"))
// L1069
ObjectiveSetDescription(gv_objectiveDestroyDominionBase2, libSwaC_gf_MissionObjectiveDescription("ZHybrid03Objective02"))
// L3806
ObjectiveSetDescription(ObjectiveLastCreated(), StringExternal("Param/Value/C010B197"))