# Set Objective State
Grammar — Mark objective as state
Flags —Native
|Action
Sets the state of an objective.
# Arguments
int
<objective> — Objectiveint
<preset::ObjectiveState> — State
Returns — void
native void ObjectiveSetState(
int inObjective,
int inState,
);
# Related
Category: Objective / Basic
- Create Objective —
int
<objective> — ObjectiveCreate - Create Objective For Players —
int
<objective> — ObjectiveCreateForPlayers - Show/Hide Objective —
void
— ObjectiveShow - Set Objective State —
void
— ObjectiveSetState - Last Created Objective —
int
<objective> — ObjectiveLastCreated - Objective Is Visible —
bool
— ObjectiveVisible - Objective State —
int
<preset::ObjectiveState> — ObjectiveGetState
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5013
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveSetState(gv_objective_DontLetColonistsDie, c_objectiveStateFailed);
gv_gameOver = true;
TriggerQueuePause(true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5325
TriggerExecute(gt_MainObjectiveReachHansonCreate, true, false);
VisExploreArea(gv_p1_USER, RegionFromId(34), true, false);
ObjectiveSetState(gv_objective_ReachHanson, c_objectiveStateActive);
Wait(4.0, c_timeReal);
SoundPlay(SoundLink("UI_TerranPing", 0), PlayerGroupAll(), 100.0, 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5359
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_MainObjectiveReachHansonCreate, true, false);
ObjectiveSetState(gv_objective_ReachHanson, c_objectiveStateCompleted);
PingDestroy(gv_objPing_ReachHanson);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5425
TriggerQueueEnter();
TriggerExecute(gt_MainObjectiveSaveColonistsCreate, true, false);
ObjectiveSetState(gv_objective_SaveColonists, c_objectiveStateActive);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerQueueExit();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5455
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_MainObjectiveSaveColonistsCreate, true, false);
ObjectiveSetState(gv_objective_SaveColonists, c_objectiveStateCompleted);
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
ObjectiveSetState(gv_objective_DontLetColonistsDie, c_objectiveStateCompleted);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5457
ObjectiveSetState(gv_objective_SaveColonists, c_objectiveStateCompleted);
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
ObjectiveSetState(gv_objective_DontLetColonistsDie, c_objectiveStateCompleted);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5563
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ResearchObjectiveChrysalisCreateQ, true, false);
ObjectiveSetState(gv_bonusObjectiveCollectChrysalis, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4537
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveCleansetheInfestationCreateQ, true, false);
ObjectiveSetState(gv_objectiveCleanseInfestation, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4664
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ResearchObjectiveKilltheInfestorsCreateQ, true, false);
ObjectiveSetState(gv_researchObjectiveKilltheInfestors, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5523
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroyNexusCreateQ, true, false);
ObjectiveSetState(gv_primaryObjectiveDestroyProtossNexus, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5612
PingDestroy(gv_purifierPing);
TriggerExecute(gt_ObjectiveDestroyPurifierCreateQ, true, false);
ObjectiveSetState(gv_primaryObjectiveDestroyPurifier, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5671
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveShow(gv_bonusObjectiveDestroyFirstTerrorFleet, PlayerGroupAll(), true);
ObjectiveSetState(gv_bonusObjectiveDestroyFirstTerrorFleet, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5704
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveShow(gv_bonusObjectiveDestroyFirstTerrorFleet, PlayerGroupAll(), true);
ObjectiveSetState(gv_bonusObjectiveDestroyFirstTerrorFleet, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5762
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveShow(gv_bonusObjectiveDestroySecondTerrorFleet, PlayerGroupAll(), true);
ObjectiveSetState(gv_bonusObjectiveDestroySecondTerrorFleet, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5795
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveShow(gv_bonusObjectiveDestroySecondTerrorFleet, PlayerGroupAll(), true);
ObjectiveSetState(gv_bonusObjectiveDestroySecondTerrorFleet, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5853
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveShow(gv_bonusObjectiveDestroyThirdTerrorFleet, PlayerGroupAll(), true);
ObjectiveSetState(gv_bonusObjectiveDestroyThirdTerrorFleet, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5886
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveShow(gv_bonusObjectiveDestroyThirdTerrorFleet, PlayerGroupAll(), true);
ObjectiveSetState(gv_bonusObjectiveDestroyThirdTerrorFleet, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3868
TriggerExecute(gt_ObjectiveDestroyInfestationCreateQ, true, false);
TriggerExecute(gt_ObjectiveDestroyInfestationUpdate, true, true);
ObjectiveSetState(gv_objectiveDestroyInfestation, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5277
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveTheGreatTrainRobberyCreateQ, true, false);
ObjectiveSetState(gv_objective_TheGreatTrainRobbery, c_objectiveStateCompleted);
TriggerExecute(gt_ObjectiveDontMissTrainsComplete, true, false);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5346
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDontMissTrainsCreate, true, false);
ObjectiveSetState(gv_objective_DontMissTrains, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5374
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDontMissTrainsCreate, true, false);
ObjectiveSetState(gv_objective_DontMissTrains, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5434
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveLocateCreateQ, true, false);
ObjectiveSetState(gv_objective_Locate, c_objectiveStateActive);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5462
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveLocateCreateQ, true, false);
ObjectiveSetState(gv_objective_Locate, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5525
if ((gv_defilerSkeletonsFound == gv_defilerSkeletonsNeeded)) {
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveSetState(gv_objective_DefilerSkeletons, c_objectiveStateCompleted);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4775
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveBuyContractCreateQ, true, false);
ObjectiveSetState(gv_primaryObjectiveBuyContract, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4866
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroyOrlanCreateQ, true, false);
ObjectiveSetState(gv_primaryObjectiveDestroyOrlan, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4896
TriggerExecute(gt_ObjectiveDestroyOrlanCreateQ, true, false);
TriggerQueueEnter();
ObjectiveSetState(gv_primaryObjectiveDestroyOrlan, c_objectiveStateFailed);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerQueueExit();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5002
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveFindContrabandCreateQ, true, false);
ObjectiveSetState(gv_bonusObjectiveFindContraband, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5032
TriggerExecute(gt_ObjectiveFindContrabandCreateQ, true, false);
TriggerQueueEnter();
ObjectiveSetState(gv_bonusObjectiveFindContraband, c_objectiveStateFailed);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerQueueExit();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1231
Wait(3.0, c_timeReal);
AISetUnitForceMover(gv_odin, true);
ObjectiveSetState(gv_objectiveStealTheOdin, c_objectiveStateHidden);
ObjectiveSetState(gv_objectiveTychusMustSurvive, c_objectiveStateHidden);
Wait(0.25, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1232
AISetUnitForceMover(gv_odin, true);
ObjectiveSetState(gv_objectiveStealTheOdin, c_objectiveStateHidden);
ObjectiveSetState(gv_objectiveTychusMustSurvive, c_objectiveStateHidden);
Wait(0.25, c_timeReal);
TriggerExecute(gt_ObjectiveDestroyDominionBasesCreateQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4712
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveStealtheOdinCreateQ, true, false);
ObjectiveSetState(gv_objectiveStealTheOdin, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveTychusMustSurvive, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4713
TriggerExecute(gt_ObjectiveStealtheOdinCreateQ, true, false);
ObjectiveSetState(gv_objectiveStealTheOdin, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveTychusMustSurvive, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4735
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveStealtheOdinCreateQ, true, false);
ObjectiveSetState(gv_objectiveTychusMustSurvive, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4798
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroyDominionBasesCreateQ, true, false);
ObjectiveSetState(gv_objectiveDestroyDominionBases, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveOdinMustSurvive, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4799
TriggerExecute(gt_ObjectiveDestroyDominionBasesCreateQ, true, false);
ObjectiveSetState(gv_objectiveDestroyDominionBases, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveOdinMustSurvive, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4885
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroytheLokiCreateHidden, true, false);
ObjectiveSetState(gv_objectiveDestroytheLoki, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4907
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroytheLokiCreateHidden, true, false);
ObjectiveSetState(gv_objectiveDestroytheLoki, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5004
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDevourerSamplesCreateQ, true, false);
ObjectiveSetState(gv_objectiveDevourerSamples, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeGame);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:5704
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroyCreateQ, true, false);
ObjectiveSetState(gv_objectiveDestroyDominionForces, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:5807
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveAccessBroadcastTowersCreateQ, true, false);
ObjectiveSetState(gv_objectiveAccessTower1, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:5836
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveAccessBroadcastTowersCreateQ, true, false);
ObjectiveSetState(gv_objectiveAccessTower2, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:5865
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveAccessBroadcastTowersCreateQ, true, false);
ObjectiveSetState(gv_objectiveAccessTower3, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10452
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveInvestigateCreate, true, false);
ObjectiveSetState(gv_objectiveInvestigate, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10481
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveInvestigateCreate, true, false);
ObjectiveSetState(gv_objectiveInvestigate, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10539
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveFusionReactorCreateQ, true, false);
ObjectiveSetState(gv_objectiveFusionReactor, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10568
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveFusionReactorCreateQ, true, false);
ObjectiveSetState(gv_objectiveFusionReactor, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10659
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveRaynorCreateQ, true, false);
ObjectiveSetState(gv_objectiveRaynorSurvive, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10715
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveEscapeCreateQ, true, false);
ObjectiveSetState(gv_objectiveEscape, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10744
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveEscapeCreateQ, true, false);
ObjectiveSetState(gv_objectiveEscape, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10819
if ((ObjectiveGetState(gv_researchObjectiveBrutalisk) != c_objectiveStateCompleted)) {
TriggerQueueEnter();
ObjectiveSetState(gv_researchObjectiveBrutalisk, c_objectiveStateCompleted);
ObjectiveSetName(gv_researchObjectiveBrutalisk, (StringExternal("Param/Value/F8BA0C74") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectKilltheBrutalisk, libCamp_ge_StoryResearchObjectiveTextStyle_Lumpsum, 1, 1)));
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10933
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveProtossRelicsCreateQ, true, false);
ObjectiveSetState(gv_objectiveProtossRelics, c_objectiveStateCompleted);
ObjectiveSetName(gv_objectiveProtossRelics, (StringExternal("Param/Value/31655236") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, libCamp_ge_StoryResearchObjectiveTextStyle_Multipart, gv_obejctiveProtossRelicsTotalFirstHalf, gv_obejctiveProtossRelics)));
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:10963
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveProtossRelicsCreateQ, true, false);
ObjectiveSetState(gv_objectiveProtossRelics, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4389
PingDestroy(gv_objectiveMainPing);
libNtve_gf_KillModel(gv_actorObjectiveMain);
ObjectiveSetState(gv_objectiveDestroyLogisticalHQ, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeGame);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4450
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveRaynorMustSurviveCreateQ, true, false);
ObjectiveSetState(gv_objectiveRaynorMustLIVE, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeGame);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4509
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroyDominionHoloboardsCreate, true, false);
ObjectiveSetState(gv_objectiveDestroyDominionHoloboards, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:4485
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroytheDominionBaseCreate, true, false);
ObjectiveSetState(gv_objectiveDominionBase, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
PingDestroy(gv_dominionBasePing);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:4580
TriggerExecute(gt_ObjectiveRebelsCreate, true, false);
ObjectiveShow(gv_objectiveRebels, PlayerGroupAll(), true);
ObjectiveSetState(gv_objectiveRebels, c_objectiveStateCompleted);
PingDestroy(gv_rebelPing);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:4613
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveRebelsCreate, true, false);
ObjectiveSetState(gv_objectiveRebels, c_objectiveStateFailed);
PingDestroy(gv_rebelPing);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:4466
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveHoldOutCreateQ, true, false);
ObjectiveSetState(gv_objectiveHoldOut, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:4527
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveRescueCreateQ, true, false);
ObjectiveSetState(gv_objectiveRescue, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:4564
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveRescueCreateQ, true, false);
ObjectiveSetState(gv_objectiveRescue, c_objectiveStateFailed);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:4552
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveCollectCreateQ, true, false);
ObjectiveSetState(gv_objectiveCollect, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:4613
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveRescuePartyCreateQ, true, true);
ObjectiveSetState(gv_objectiveRescue, c_objectiveStateCompleted);
Wait(5.0, c_timeReal);
TriggerExecute(gt_CommandCenterLiftOffTipQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:4687
libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectKilltheBrutalisk, EventUnit(), gv_p01_USER);
TriggerExecute(gt_ResearchObjectiveKilltheBrutaliskCreateQ, true, true);
ObjectiveSetState(gv_researchObjectiveKilltheBrutalisk, c_objectiveStateCompleted);
ObjectiveSetName(gv_researchObjectiveKilltheBrutalisk, (StringExternal("Param/Value/9C764397") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectKilltheBrutalisk, libCamp_ge_StoryResearchObjectiveTextStyle_Lumpsum, 1, 1)));
if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (libNtve_gf_KillingPlayer() == gv_p03_LAVA)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:3775
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_PrimaryObjectiveCollectTerrazineCreateQ, true, false);
ObjectiveSetState(gv_primaryObjectiveGetGas, c_objectiveStateCompleted);
ObjectiveSetState(gv_primaryObjectiveStopProtossGas, c_objectiveStateCompleted);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:3776
TriggerExecute(gt_PrimaryObjectiveCollectTerrazineCreateQ, true, false);
ObjectiveSetState(gv_primaryObjectiveGetGas, c_objectiveStateCompleted);
ObjectiveSetState(gv_primaryObjectiveStopProtossGas, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:3899
ObjectiveSetName(gv_bonusObjectiveCollectRelics, (StringExternal("Param/Value/50C45B65") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, libCamp_ge_StoryResearchObjectiveTextStyle_Multipart, gv_bonusObjectiveCollectRelicsNeeded, gv_bonusObjectiveCollectRelicsFound)));
if ((gv_bonusObjectiveCollectRelicsFound == gv_bonusObjectiveCollectRelicsNeeded)) {
ObjectiveSetState(gv_bonusObjectiveCollectRelics, c_objectiveStateCompleted);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:4811
PingDestroy(gv_mainPrisonPing);
TriggerExecute(gt_ObjectiveClearMainPrisonCreateQ, true, false);
ObjectiveSetState(gv_objectiveClearMainPrison, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveToshMustSurvive, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:4812
TriggerExecute(gt_ObjectiveClearMainPrisonCreateQ, true, false);
ObjectiveSetState(gv_objectiveClearMainPrison, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveToshMustSurvive, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:4901
PingDestroy(gv_cellBlock_A_Ping);
TriggerExecute(gt_ObjectiveCellBlock_ACreateQ, true, false);
ObjectiveSetState(gv_objectiveCellBlock_A, c_objectiveStateCompleted);
libCamp_gf_AddProgressToStoryObjective(1, libCamp_ge_MissionObjective_TTosh03AObjective2);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:4964
PingDestroy(gv_cellBlock_B_Ping);
TriggerExecute(gt_ObjectiveCellBlock_BCreateQ, true, false);
ObjectiveSetState(gv_objectiveCellBlock_B, c_objectiveStateCompleted);
libCamp_gf_AddProgressToStoryObjective(1, libCamp_ge_MissionObjective_TTosh03AObjective3);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5258
TriggerQueueEnter();
TriggerExecute(gt_ObjectiveDestroyCreate, true, true);
ObjectiveSetState(gv_objectiveDestroyMineralDepot, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerQueueExit();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5288
TriggerQueueEnter();
TriggerExecute(gt_ObjectiveDestroyCreate, true, true);
ObjectiveSetState(gv_objectiveDestroyMineralDepot, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveDestroyTerrazineRefinery, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5289
TriggerExecute(gt_ObjectiveDestroyCreate, true, true);
ObjectiveSetState(gv_objectiveDestroyMineralDepot, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveDestroyTerrazineRefinery, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerQueueExit();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5318
TriggerExecute(gt_ObjectiveDestroyCreate, true, true);
ObjectiveSetState(gv_objectiveDestroyMineralDepot, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveDestroyTerrazineRefinery, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveDestroyPsiIndoctrinator, c_objectiveStateCompleted);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5319
TriggerExecute(gt_ObjectiveDestroyCreate, true, true);
ObjectiveSetState(gv_objectiveDestroyMineralDepot, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveDestroyTerrazineRefinery, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveDestroyPsiIndoctrinator, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5320
ObjectiveSetState(gv_objectiveDestroyMineralDepot, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveDestroyTerrazineRefinery, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveDestroyPsiIndoctrinator, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5406
TriggerExecute(gt_ObjectiveSurviveCreate, true, true);
ObjectiveSetState(gv_objectiveNovaMustSurvive, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5514
TriggerExecute(gt_ObjectiveKillSpectresCreate, true, false);
BoardDestroy(gv_platformSpectresBOARD);
ObjectiveSetState(gv_objectiveKillSpectres, c_objectiveStateCompleted);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1953
TipAlertPanelClear(PlayerGroupAll());
TriggerExecute(gt_ObjectiveUserInterfaceCreateQ, true, false);
ObjectiveSetState(gv_objectiveUserInterface, c_objectiveStateCompleted);
TriggerExecute(gt_UserInterfaceCompleteQ, true, true);
Wait(0.5, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2343
gf_SilenceQ();
TriggerExecute(gt_ObjectiveCamera01CreateQ, true, false);
ObjectiveSetState(gv_objectiveCamera01, c_objectiveStateCompleted);
Wait(0.5, c_timeGame);
TriggerExecute(gt_Camera01CompleteQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2596
PingDestroy(gv_cam_Ping);
TriggerExecute(gt_ObjectiveCamera02CreateQ, true, false);
ObjectiveSetState(gv_objectiveCamera02, c_objectiveStateCompleted);
Wait(0.5, c_timeGame);
TriggerExecute(gt_Camera02CompleteQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2918
gf_SilenceQ();
TriggerExecute(gt_ObjectiveMovement01CreateQ, true, false);
ObjectiveSetState(gv_objectiveMovement01, c_objectiveStateCompleted);
Wait(0.5, c_timeGame);
TriggerExecute(gt_Movement01CompleteQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3171
gf_SilenceQ();
TriggerExecute(gt_ObjectiveMovement02CreateQ, true, false);
ObjectiveSetState(gv_objectiveMovement02, c_objectiveStateCompleted);
UnitKill(gv_mov_Beacon01);
PingDestroy(gv_mov_Ping);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3379
gf_SilenceQ();
TriggerExecute(gt_ObjectiveMovement03CreateQ, true, false);
ObjectiveSetState(gv_objectiveMovement03, c_objectiveStateCompleted);
UnitKill(gv_mov_Beacon02);
PingDestroy(gv_mov_Ping);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3656
gf_SilenceQ();
TriggerExecute(gt_ObjectiveMovement04CreateQ, true, false);
ObjectiveSetState(gv_objectiveMovement04, c_objectiveStateCompleted);
Wait(0.5, c_timeGame);
TriggerExecute(gt_Movement04CompleteQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4002
gf_SilenceQ();
TriggerExecute(gt_ObjectiveMovement05CreateQ, true, false);
ObjectiveSetState(gv_objectiveMovement05, c_objectiveStateCompleted);
UnitKill(gv_mov_Beacon03);
PingDestroy(gv_mov_Ping);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4404
PingDestroy(gv_com_Ping);
TriggerExecute(gt_ObjectiveCombat01CreateQ, true, false);
ObjectiveSetState(gv_objectiveCombat01, c_objectiveStateFailed);
Wait(2.0, c_timeGame);
ObjectiveDestroy(gv_objectiveCombat01);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4502
PingDestroy(gv_com_Ping);
TriggerExecute(gt_ObjectiveCombat01CreateQ, true, false);
ObjectiveSetState(gv_objectiveCombat01, c_objectiveStateCompleted);
Wait(0.5, c_timeGame);
TriggerExecute(gt_Combat01CompleteQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4163
VisRevealArea(gv_p1_USER, RegionCircle(UnitGetPosition(gv_artifact), 16.0), 10.0, false);
VisRevealerCreate(gv_p1_USER, RegionCircle(UnitGetPosition(gv_artifact), 8.0));
ObjectiveSetState(gv_objective_GetToTheArtifact, c_objectiveStateActive);
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_p1_USER), "PingObjective", UnitGetPosition(gv_artifact), Color(0.00, 100.00, 0.00), 0.0, 270.0);
gv_artifactObjectivePing = PingLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4195
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveGettotheArtifactCreate, true, false);
ObjectiveSetState(gv_objective_GetToTheArtifact, c_objectiveStateCompleted);
PingDestroy(gv_artifactObjectivePing);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4257
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveDestroytheStatuesCreate, true, false);
ObjectiveSetState(gv_objective_DestroytheStatues, c_objectiveStateActive);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4289
TriggerEnable(TriggerGetCurrent(), false);
ObjectiveSetName(gv_objective_DestroytheStatues, StringExternal("Param/Value/8A9312C3"));
ObjectiveSetState(gv_objective_DestroytheStatues, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4441
TriggerExecute(gt_ObjectiveRelicsCreateQ, true, false);
ObjectiveSetName(gv_objective_Relics, (StringExternal("Param/Value/38722FC6") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, libCamp_ge_StoryResearchObjectiveTextStyle_Multipart, gv_relicsNeeded, gv_relicsFound)));
ObjectiveSetState(gv_objective_Relics, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4748
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_PrimaryObjectiveExploreCreate, true, false);
ObjectiveSetState(gv_primaryObjectiveExplorePreviousExpedition, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4837
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_PrimaryObjectiveOpenShrineCreate, true, false);
ObjectiveSetState(gv_primaryObjectiveMeltOpenTemple, c_objectiveStateCompleted);
ObjectiveSetState(gv_primaryObjectiveLaserDrillMustSurvive, c_objectiveStateCompleted);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4838
TriggerExecute(gt_PrimaryObjectiveOpenShrineCreate, true, false);
ObjectiveSetState(gv_primaryObjectiveMeltOpenTemple, c_objectiveStateCompleted);
ObjectiveSetState(gv_primaryObjectiveLaserDrillMustSurvive, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4937
TriggerExecute(gt_ObjectiveRelicsCreateQ, true, false);
ObjectiveSetName(gv_bonusObjectiveCollectRelics, (StringExternal("Param/Value/51D38407") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, libCamp_ge_StoryResearchObjectiveTextStyle_Multipart, gv_bonusObjectiveCollectRelicsNeeded, gv_bonusObjectiveCollectRelicsFound)));
ObjectiveSetState(gv_bonusObjectiveCollectRelics, c_objectiveStateCompleted);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:5840
}
ObjectiveSetState(gv_objectiveDestroyDataz, c_objectiveStateActive);
ObjectiveSetName(gv_objectiveDestroyDataz, (StringExternal("Param/Value/F7B75A11") + IntToText(gv_dataCoresDestroyed) + StringExternal("Param/Value/4AA821D0")));
if ((gv_dataCoresDestroyed == 3)) {