# Current Trigger
Grammar — Current trigger
Flags —Native
|Function
Returns the trigger that calls this action.
Returns — trigger
native trigger TriggerGetCurrent();
# Related
Category: Trigger / Basic
- Create Trigger From Trigger
- New Trigger —
trigger
— TriggerCreate - Run Trigger —
void
— TriggerExecute - Run Trigger By Name —
void
— libNtve_gf_TriggerExecuteByName - Stop Trigger —
void
— TriggerStop - Destroy Trigger —
void
— TriggerDestroy - Turn Trigger On/Off —
void
— TriggerEnable - Trigger Is On —
bool
— TriggerIsEnabled - Current Trigger —
trigger
— TriggerGetCurrent - Wait For Trigger —
void
— TriggerWaitForTrigger - Current Trigger Thread SetFlags —
void
— TriggerCurrentTriggerThreadSetFlags - Allow Trigger To Be Skipped —
void
— TriggerSkippableBegin - Player Skips Trigger —
void
— TriggerAddEventTriggerSkipped - Register Events — macro
- Send Generic Event —
void
— TriggerSendEvent - Generic Event —
void
— TriggerAddEventGeneric - Generic Event Parameter —
string
— TriggerEventParamName - Triggering Event Name —
string
— EventGenericName - Triggering Trigger —
trigger
— EventTrigger - Trigger Active Count —
int
— TriggerActiveCount - Trigger Execution Count —
int
— TriggerGetExecCount - Trigger Evaluation Count —
int
— TriggerGetEvalCount - Trigger Function Name —
string
— TriggerGetFunction - Evaluate Trigger Conditions —
bool
— TriggerEvaluate
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4752
}
TriggerEnable(TriggerGetCurrent(), false);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "LostViking_MusicBossKilled", c_soundtrackCueAny, c_soundtrackIndexAny, false);
libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5263
}
TriggerEnable(TriggerGetCurrent(), false);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "LostViking_MusicBossKilled", c_soundtrackCueAny, c_soundtrackIndexAny, false);
libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5745
}
TriggerEnable(TriggerGetCurrent(), false);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "LostViking_MusicBossKilled", c_soundtrackCueAny, c_soundtrackIndexAny, false);
libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6001
gv_currentSawBounces += 1;
if ((gv_currentSawBounces > gv_totalSawBounces)) {
TriggerEnable(TriggerGetCurrent(), false);
UnitKill(gv_terraTronSaw);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7103
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7113
}
TriggerEnable(TriggerGetCurrent(), false);
lv_bounds = gf_GetCameraBoundary();
lv_spawnLoc = RegionGetCenter(lv_bounds);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7551
}
TriggerEnable(TriggerGetCurrent(), false);
gv_bombCount -= 1;
UnitIssueOrder(gv_viking, Order(AbilityCommand("SS_FighterBomb", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7561
Wait(0.5, c_timeGame);
GameSetLighting(gv_levelLight, 1.0);
TriggerEnable(TriggerGetCurrent(), true);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7926
}
TriggerEnable(TriggerGetCurrent(), false);
gf_HideControlTip(false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8213
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:531
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupInfantryFirebat, 1);
TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "Burrow", 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1110
}
TriggerEnable(TriggerGetCurrent(), false);
UnitRemove(UnitFromId(290));
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1158
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1195
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1239
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1249
}
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupAdd(lv_zerglingGroup, UnitFromId(2441));
UnitGroupAdd(lv_zerglingGroup, UnitFromId(2440));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1303
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1321
}
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsAtPoint2(1, "CivilianFemale", 0, 0, PointFromId(86));
gv_crazyRidley = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1376
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1386
}
TriggerEnable(TriggerGetCurrent(), false);
lv_zerglingGroup = UnitGroup(null, gv_p5_ZERG_TACTICALPHASE, RegionFromId(14), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:510
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupxxxSensorTower, gv_pLAYER_01_USER);
TechTreeUpgradeAddLevel(gv_pLAYER_03_INFESTED_REFUGEES, "Burrow", 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:847
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_InitialAttack, true, false);
TriggerExecute(gt_InfestationSpawning, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1173
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerEnable(gt_InfestorSouthFoundEarly, false);
TriggerExecute(gt_ResearchObjectiveKilltheInfestorsCreateQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1203
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerEnable(gt_InfestorNorthFoundEarly, false);
TriggerExecute(gt_ResearchObjectiveKilltheInfestorsCreateQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1815
}
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1829
}
TriggerEnable(TriggerGetCurrent(), false);
gv_infestedStructureGroup = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure) | (1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE55A534E_g = gv_infestedStructureGroup;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1932
if (autoF4C06915_var == null) { break; }
if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(autoF4C06915_var), 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (lv_runOnce == false)) {
TriggerEnable(TriggerGetCurrent(), false);
lv_runOnce = true;
gv_firstSightInfestedStructure = autoF4C06915_var;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1973
}
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_KillModel(gv_structureSelectionActor);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2037
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2047
}
TriggerEnable(TriggerGetCurrent(), false);
MinimapPing(PlayerGroupAll(), UnitGetPosition(gv_nightDefenderPingUnit), 3.0, Color(100.00, 0.00, 0.00));
Wait(6.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:480
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupStarshipsViking, gv_pLAYER01_USER);
TechTreeAbilityAllow(gv_pLAYER06_TERRORFLEET, AbilityCommand("GravitonBeam", 0), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1196
// Conditions
if (testConds) {
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1260
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1278
}
TriggerEnable(TriggerGetCurrent(), false);
gv_purifierProgressCounter = 1;
Wait(3.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1360
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1378
}
TriggerEnable(TriggerGetCurrent(), false);
gv_purifierProgressCounter = 2;
Wait(3.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1470
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1488
}
TriggerEnable(TriggerGetCurrent(), false);
gv_purifierProgressCounter = 3;
Wait(3.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1584
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1602
}
TriggerEnable(TriggerGetCurrent(), false);
gv_purifierProgressCounter = 4;
Wait(3.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:899
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupStarshipsViking, gv_p01_USER);
TechTreeUpgradeAddLevel(gv_p02_ZERG_EAST, "overlordtransport", 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2578
}
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2650
}
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2722
}
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2834
}
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2888
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerQueueEnter();
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2958
// Conditions
if (testConds) {
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3078
// Conditions
if (testConds) {
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3488
}
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_aberrationStartTimer, true);
TimerPause(gv_aberrationWarningCooldown, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3514
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerQueueEnter();
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "THanson03BMusicOutro", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:644
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupVehiclesDiamondback, gv_pLAYER_01_USER);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3701
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3711
}
TriggerEnable(TriggerGetCurrent(), false);
Wait(gv_trainWaveWait, c_timeGame);
Wait((gv_trainWaveWait - 30.0), c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3740
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3750
}
TriggerEnable(TriggerGetCurrent(), false);
while (!(((UnitGroupCount(gv_patrolTop, c_unitCountAlive) >= 1) || (UnitGroupCount(gv_patrolBottom, c_unitCountAlive) >= 1) || (UnitGroupCount(gv_patrolSingle, c_unitCountAlive) >= 1)))) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3788
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3798
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerQueueEnter();
if ((gv_gameOver == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3825
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3835
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerQueueEnter();
if ((gv_gameOver == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3862
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:435
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
libNtve_gf_SetUpgradeLevelForPlayer(gv_p02_ORLAN_ENEMY, "SiegeTech", 1);
libNtve_gf_SetUpgradeLevelForPlayer(gv_p03_MIRA_HAN, "SiegeTech", 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1114
}
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1212
}
TriggerEnable(TriggerGetCurrent(), false);
autoE8678206_g = gv_playerSCVs;
autoE8678206_u = UnitGroupCount(autoE8678206_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1239
}
TriggerEnable(TriggerGetCurrent(), false);
VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(893)), 8.0), 6.0, false);
VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(767)), 8.0), 6.0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1449
}
TriggerEnable(TriggerGetCurrent(), false);
gv_miraHanContractBought = true;
UISetRestartLoadingScreen(ConversationDataStateText("Maps|THorner02", "Loading Screen Restart 2"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1504
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_ObjectiveBuyContractFailedQ, true, true);
BoardDestroy(gv_merc_Contract_Price_Board);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1539
}
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1549
}
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsAtPoint2(1, "Medivac", 0, gv_p03_MIRA_HAN, PointFromId(1242));
lv_medivac = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1630
gv_oRLANS_MINERAL_COUNT += 5;
if ((gv_oRLANS_MINERAL_COUNT >= gv_mERC_CONTRACT_PRICE)) {
TriggerEnable(TriggerGetCurrent(), false);
PingDestroy(gv_pingCommandCenterSW);
PingDestroy(gv_pingCommandCenterSE);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1686
}
if ((TriggerGetExecCount(TriggerGetCurrent()) >= 2)) {
TriggerEnable(TriggerGetCurrent(), false);
autoD4B68B02_g = UnitGroup(null, 2, RegionFromId(59), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:325
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
UnitAbilityEnable(UnitFromId(2), "OdinBarrage", false);
TechTreeUpgradeAddLevel(gv_p01_USER, "WraithCloak", 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:819
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:837
}
TriggerEnable(TriggerGetCurrent(), false);
auto1FE7BFD6_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1FE7BFD6_u = UnitGroupCount(auto1FE7BFD6_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:878
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:896
}
TriggerEnable(TriggerGetCurrent(), false);
auto32B93861_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto32B93861_u = UnitGroupCount(auto32B93861_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:930
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:948
}
TriggerEnable(TriggerGetCurrent(), false);
auto9297DEB2_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto9297DEB2_u = UnitGroupCount(auto9297DEB2_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:979
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:993
}
TriggerEnable(TriggerGetCurrent(), false);
gv_initialOrderGiven = true;
UnitIssueOrder(UnitFromId(4), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(369)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1020
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:798
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupDominionThor, gv_p01_USER);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("OdinNuclearStrike", 0), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1216
}
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_distractionTimer, true);
TimerStart(gv_distractionTimer, 5.0, false, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2221
}
TriggerEnable(TriggerGetCurrent(), false);
TriggerEnable(gt_SecretDocumentsRetrievedUnlockHorner05S, true);
libNtve_gf_CreateUnitsAtPoint2(1, "SecretDocuments", 0, gv_p06_CIVILIANS, PointFromId(73));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2256
}
TriggerEnable(TriggerGetCurrent(), false);
gv_secretsFound = 1;
UnitKill(gv_secretDocuments);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2286
}
TriggerEnable(TriggerGetCurrent(), false);
gv_supplyDepotSCV = UnitGroupRandomUnit(UnitGroup("SCV", gv_p07_HORNERBASE, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
Wait(0.5, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2443
SoundStop(gv_soundEmitterCheers, true);
SoundPlayAtPoint(SoundLink("Emitter_CrowdPanic", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0);
TriggerEnable(TriggerGetCurrent(), false);
gv_sneakAttackBegun = true;
UIClearMessages(PlayerGroupAll(), c_messageAreaDirective);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2568
// Conditions
if (testConds) {
if (!((TriggerIsEnabled(TriggerGetCurrent()) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2578
}
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_odin, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerEnable(gt_OdinDiesMovetoStage2, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2610
}
TriggerEnable(TriggerGetCurrent(), false);
gv_odinDead = true;
gv_odinKillCount = libNtve_gf_UnitGetPropertyKills(gv_odin, c_unitPropCurrent);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2650
}
TriggerEnable(TriggerGetCurrent(), false);
BoardCreate(2, 3, StringToText(""), Color(100.00, 100.00, 100.00));
gv_uploadBoard = BoardLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:709
}
libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1221
// Conditions
if (testConds) {
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1231
}
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(959));
gv_grenades01 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1272
// Conditions
if (testConds) {
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1282
}
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(16));
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, 1.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1319
// Conditions
if (testConds) {
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1329
}
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsAtPoint2(1, "PickupRestorationCharge", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(409));
UnitSetState(UnitLastCreated(), c_unitStateTooltipable, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1357
// Conditions
if (testConds) {
if (!((TriggerGetExecCount(TriggerGetCurrent()) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1367
}
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsAtPoint2(1, "PickupChronoRiftDevice", 0, gv_p07_NEUTRAL, PointFromId(313));
gv_gatlingGun2 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1685
}
TriggerEnable(TriggerGetCurrent(), false);
UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TossGrenade", 0), true);
gv_flashButtonGrenade = true;