# Set Objective Description

Grammar — Set objective description to description
FlagsNative | Action

Sets the description of an objective.

# Arguments

  • int [ objective ] — Objective
  • text — Description

Returns — void

native void ObjectiveSetDescription(
	int inObjective,
	text inText,
);

Category: Objective / Advanced

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// 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"))