# Destroy Objective

Grammar — Destroy objective
FlagsNative | Action

Destroys an objective.

# Arguments

  • int [ objective ] — Objective

Returns — void

native void ObjectiveDestroy(int inObjective);

Category: Objective / Advanced

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L7392
ObjectiveDestroy(gv_objectiveInvestigate)
// L1324
ObjectiveDestroy(gv_objectiveUserInterface)
// L1326
ObjectiveDestroy(gv_objectiveCamera01)
// L1327
ObjectiveDestroy(gv_objectiveCamera02)
// L1330
ObjectiveDestroy(gv_objectiveMovement01)
// L1331
ObjectiveDestroy(gv_objectiveMovement02)
// L1332
ObjectiveDestroy(gv_objectiveMovement03)
// L1333
ObjectiveDestroy(gv_objectiveMovement04)
// L1334
ObjectiveDestroy(gv_objectiveMovement05)
// L1340
ObjectiveDestroy(gv_objectiveCombat01)
// L1341
ObjectiveDestroy(gv_objectiveCombat02)
// L636
ObjectiveDestroy(gv_objectiveKill1)
// L637
ObjectiveDestroy(gv_objectiveKill2)
// L638
ObjectiveDestroy(gv_objectiveKill3)
// L579
ObjectiveDestroy(gv_objectiveEconomyMarines)
// L580
ObjectiveDestroy(gv_objectiveEconomyTanks)
// L581
ObjectiveDestroy(gv_objectiveEconomyGhosts)
// L582
ObjectiveDestroy(gv_objectiveEconomySilver)
// L583
ObjectiveDestroy(gv_objectiveEconomyGold)
// L703
ObjectiveDestroy(gv_objectiveKill1)
// L704
ObjectiveDestroy(gv_objectiveKill2)
// L705
ObjectiveDestroy(gv_objectiveKill3)
// L1258
ObjectiveDestroy(gv_objectiveRushDefenseCompleteZergRush)
// L1259
ObjectiveDestroy(gv_objectiveRushDefenseCompleteProtossRush)
// L1260
ObjectiveDestroy(gv_objectiveRushDefenseGold)
// L1261
ObjectiveDestroy(gv_objectiveRushDefenseSilver)
// L1311
ObjectiveDestroy(gv_objectiveRushDefenseCompleteZergRush)
// L1312
ObjectiveDestroy(gv_objectiveRushDefenseCompleteProtossRush)
// L1313
ObjectiveDestroy(gv_objectiveRushDefenseGold)
// L1314
ObjectiveDestroy(gv_objectiveRushDefenseSilver)
// L625
ObjectiveDestroy(gv_objectiveKill1)
// L626
ObjectiveDestroy(gv_objectiveKill2)
// L627
ObjectiveDestroy(gv_objectiveKill3)
// L612
ObjectiveDestroy(gv_objectiveKill1)
// L613
ObjectiveDestroy(gv_objectiveKill2)
// L614
ObjectiveDestroy(gv_objectiveKill3)
// L7392
ObjectiveDestroy(gv_objectiveInvestigate)
// L1324
ObjectiveDestroy(gv_objectiveUserInterface)
// L1326
ObjectiveDestroy(gv_objectiveCamera01)
// L1327
ObjectiveDestroy(gv_objectiveCamera02)
// L1330
ObjectiveDestroy(gv_objectiveMovement01)
// L1331
ObjectiveDestroy(gv_objectiveMovement02)
// L1332
ObjectiveDestroy(gv_objectiveMovement03)
// L1333
ObjectiveDestroy(gv_objectiveMovement04)
// L1334
ObjectiveDestroy(gv_objectiveMovement05)
// L1340
ObjectiveDestroy(gv_objectiveCombat01)
// L1341
ObjectiveDestroy(gv_objectiveCombat02)
// L636
ObjectiveDestroy(gv_objectiveKill1)
// L637
ObjectiveDestroy(gv_objectiveKill2)
// L638
ObjectiveDestroy(gv_objectiveKill3)
// L579
ObjectiveDestroy(gv_objectiveEconomyMarines)
// L580
ObjectiveDestroy(gv_objectiveEconomyTanks)
// L581
ObjectiveDestroy(gv_objectiveEconomyGhosts)
// L582
ObjectiveDestroy(gv_objectiveEconomySilver)
// L583
ObjectiveDestroy(gv_objectiveEconomyGold)
// L703
ObjectiveDestroy(gv_objectiveKill1)
// L704
ObjectiveDestroy(gv_objectiveKill2)
// L705
ObjectiveDestroy(gv_objectiveKill3)
// L1258
ObjectiveDestroy(gv_objectiveRushDefenseCompleteZergRush)
// L1259
ObjectiveDestroy(gv_objectiveRushDefenseCompleteProtossRush)
// L1260
ObjectiveDestroy(gv_objectiveRushDefenseGold)
// L1261
ObjectiveDestroy(gv_objectiveRushDefenseSilver)
// L1311
ObjectiveDestroy(gv_objectiveRushDefenseCompleteZergRush)
// L1312
ObjectiveDestroy(gv_objectiveRushDefenseCompleteProtossRush)
// L1313
ObjectiveDestroy(gv_objectiveRushDefenseGold)
// L1314
ObjectiveDestroy(gv_objectiveRushDefenseSilver)
// L625
ObjectiveDestroy(gv_objectiveKill1)
// L626
ObjectiveDestroy(gv_objectiveKill2)
// L627
ObjectiveDestroy(gv_objectiveKill3)
// L612
ObjectiveDestroy(gv_objectiveKill1)
// L613
ObjectiveDestroy(gv_objectiveKill2)
// L614
ObjectiveDestroy(gv_objectiveKill3)
// L6382
ObjectiveDestroy(gv_terranSCVObjective)
// L6881
ObjectiveDestroy(gv_terranSupplyDepotObjective)
// L8018
ObjectiveDestroy(gv_terranMakeBarracksObjective)
// L8534
ObjectiveDestroy(gv_terranMakeMarinesObjective)
// L9147
ObjectiveDestroy(gv_terranMissingScoutsObjective)
// L10095
ObjectiveDestroy(gv_zergMakeOverlordObjective)
// L10555
ObjectiveDestroy(gv_zergDroneObjective)
// L11122
ObjectiveDestroy(gv_zergSpawningPoolObjective)
// L11715
ObjectiveDestroy(gv_zergMakeZerglingsObjective)
// L12316
ObjectiveDestroy(gv_zergMakeExtractorObjective)
// L6382
ObjectiveDestroy(gv_terranSCVObjective)
// L6881
ObjectiveDestroy(gv_terranSupplyDepotObjective)
// L8018
ObjectiveDestroy(gv_terranMakeBarracksObjective)
// L8534
ObjectiveDestroy(gv_terranMakeMarinesObjective)
// L9147
ObjectiveDestroy(gv_terranMissingScoutsObjective)
// L10095
ObjectiveDestroy(gv_zergMakeOverlordObjective)
// L10555
ObjectiveDestroy(gv_zergDroneObjective)
// L11122
ObjectiveDestroy(gv_zergSpawningPoolObjective)
// L11715
ObjectiveDestroy(gv_zergMakeZerglingsObjective)
// L12316
ObjectiveDestroy(gv_zergMakeExtractorObjective)

# mods/heroesdata.stormmod

StartingExperienceLib.galaxy

// L4256
ObjectiveDestroy(libStEx_gv_objectives.lv_objectivePickOneTalent)
// L4308
ObjectiveDestroy(libStEx_gv_objectives.lv_objectivePickRemainingTalentsAndReady)
// L4364
ObjectiveDestroy(libStEx_gv_objectives.lv_objectiveTargetDummy)
// L4366
ObjectiveDestroy(libStEx_gv_objectives.lv_objectiveGraveGolemFightUtherMustSurvive)
// L4390
ObjectiveDestroy(libStEx_gv_objectives.lv_objectiveTargetDummy)
// L4392
ObjectiveDestroy(libStEx_gv_objectives.lv_objectiveGraveGolemFightUtherMustSurvive)
// L4448
ObjectiveDestroy(libStEx_gv_objectives.lv_objectiveGraveGolemFight)
// L4449
ObjectiveDestroy(libStEx_gv_objectives.lv_objectiveGraveGolemFightUtherMustSurvive)