# Target Mode Updated

Grammar — Player player turns target mode state for abilityCommand
FlagsNative | Event

# Arguments

  • int — Player
  • abilcmd — Ability Command
  • int<preset::TargetModeState> — State

Returns — void

native void TriggerAddEventTargetModeUpdate(
	trigger t,
	int player,
	abilcmd inAbilCmd,
	int state,
);

# Event parameters

Category: UI / Game UI

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:1767

void gt_CreepTumorTargetCursorEnter_Init () {
    gt_CreepTumorTargetCursorEnter = TriggerCreate("gt_CreepTumorTargetCursorEnter_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:1768

    gt_CreepTumorTargetCursorEnter = TriggerCreate("gt_CreepTumorTargetCursorEnter_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:1814

void gt_CreepTumorTargetCursorLeave_Init () {
    gt_CreepTumorTargetCursorLeave = TriggerCreate("gt_CreepTumorTargetCursorLeave_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOff);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:1815

    gt_CreepTumorTargetCursorLeave = TriggerCreate("gt_CreepTumorTargetCursorLeave_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOff);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:3774

void gt_CreepTumorTargetCursorEnter_Init () {
    gt_CreepTumorTargetCursorEnter = TriggerCreate("gt_CreepTumorTargetCursorEnter_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:3775

    gt_CreepTumorTargetCursorEnter = TriggerCreate("gt_CreepTumorTargetCursorEnter_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:3820

void gt_CreepTumorTargetCursorLeave_Init () {
    gt_CreepTumorTargetCursorLeave = TriggerCreate("gt_CreepTumorTargetCursorLeave_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOff);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:3821

    gt_CreepTumorTargetCursorLeave = TriggerCreate("gt_CreepTumorTargetCursorLeave_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOff);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:2256

    gt_HatcheryPlacementLeftClick = TriggerCreate("gt_HatcheryPlacementLeftClick_Func");
    TriggerEnable(gt_HatcheryPlacementLeftClick, false);
    TriggerAddEventTargetModeUpdate(gt_HatcheryPlacementLeftClick, gv_pLAYER_01_USER, AbilityCommand("ZergBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:2291

void gt_HatcheryPlacementLeftClickEnd_Init () {
    gt_HatcheryPlacementLeftClickEnd = TriggerCreate("gt_HatcheryPlacementLeftClickEnd_Func");
    TriggerAddEventTargetModeUpdate(gt_HatcheryPlacementLeftClickEnd, gv_pLAYER_01_USER, AbilityCommand("ZergBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:4390

    gt_SpawningPoolLeftClick = TriggerCreate("gt_SpawningPoolLeftClick_Func");
    TriggerEnable(gt_SpawningPoolLeftClick, false);
    TriggerAddEventTargetModeUpdate(gt_SpawningPoolLeftClick, gv_pLAYER_01_USER, AbilityCommand("ZergBuild", 3), c_targetModeStateOn);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:4424

void gt_SpawningPoolLeftClickEnd_Init () {
    gt_SpawningPoolLeftClickEnd = TriggerCreate("gt_SpawningPoolLeftClickEnd_Func");
    TriggerAddEventTargetModeUpdate(gt_SpawningPoolLeftClickEnd, gv_pLAYER_01_USER, AbilityCommand("ZergBuild", 3), c_targetModeStateOff);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2mapMapScript.galaxy:1767

void gt_CreepTumorTargetCursorEnter_Init () {
    gt_CreepTumorTargetCursorEnter = TriggerCreate("gt_CreepTumorTargetCursorEnter_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2mapMapScript.galaxy:1768

    gt_CreepTumorTargetCursorEnter = TriggerCreate("gt_CreepTumorTargetCursorEnter_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2mapMapScript.galaxy:1814

void gt_CreepTumorTargetCursorLeave_Init () {
    gt_CreepTumorTargetCursorLeave = TriggerCreate("gt_CreepTumorTargetCursorLeave_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOff);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2mapMapScript.galaxy:1815

    gt_CreepTumorTargetCursorLeave = TriggerCreate("gt_CreepTumorTargetCursorLeave_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOff);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2mapMapScript.galaxy:3774

void gt_CreepTumorTargetCursorEnter_Init () {
    gt_CreepTumorTargetCursorEnter = TriggerCreate("gt_CreepTumorTargetCursorEnter_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2mapMapScript.galaxy:3775

    gt_CreepTumorTargetCursorEnter = TriggerCreate("gt_CreepTumorTargetCursorEnter_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorEnter, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2mapMapScript.galaxy:3820

void gt_CreepTumorTargetCursorLeave_Init () {
    gt_CreepTumorTargetCursorLeave = TriggerCreate("gt_CreepTumorTargetCursorLeave_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOff);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2mapMapScript.galaxy:3821

    gt_CreepTumorTargetCursorLeave = TriggerCreate("gt_CreepTumorTargetCursorLeave_Func");
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("CreepTumorBuild", 0), c_targetModeStateOff);
    TriggerAddEventTargetModeUpdate(gt_CreepTumorTargetCursorLeave, gv_pLAYER_01_USER, AbilityCommand("QueenBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2mapMapScript.galaxy:2256

    gt_HatcheryPlacementLeftClick = TriggerCreate("gt_HatcheryPlacementLeftClick_Func");
    TriggerEnable(gt_HatcheryPlacementLeftClick, false);
    TriggerAddEventTargetModeUpdate(gt_HatcheryPlacementLeftClick, gv_pLAYER_01_USER, AbilityCommand("ZergBuild", 0), c_targetModeStateOn);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2mapMapScript.galaxy:2291

void gt_HatcheryPlacementLeftClickEnd_Init () {
    gt_HatcheryPlacementLeftClickEnd = TriggerCreate("gt_HatcheryPlacementLeftClickEnd_Func");
    TriggerAddEventTargetModeUpdate(gt_HatcheryPlacementLeftClickEnd, gv_pLAYER_01_USER, AbilityCommand("ZergBuild", 0), c_targetModeStateOff);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2mapMapScript.galaxy:4390

    gt_SpawningPoolLeftClick = TriggerCreate("gt_SpawningPoolLeftClick_Func");
    TriggerEnable(gt_SpawningPoolLeftClick, false);
    TriggerAddEventTargetModeUpdate(gt_SpawningPoolLeftClick, gv_pLAYER_01_USER, AbilityCommand("ZergBuild", 3), c_targetModeStateOn);
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2mapMapScript.galaxy:4424

void gt_SpawningPoolLeftClickEnd_Init () {
    gt_SpawningPoolLeftClickEnd = TriggerCreate("gt_SpawningPoolLeftClickEnd_Func");
    TriggerAddEventTargetModeUpdate(gt_SpawningPoolLeftClickEnd, gv_pLAYER_01_USER, AbilityCommand("ZergBuild", 3), c_targetModeStateOff);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:4490

    gt_BasicAttackTargetingMode = TriggerCreate("gt_BasicAttackTargetingMode_Func");
    TriggerEnable(gt_BasicAttackTargetingMode, false);
    TriggerAddEventTargetModeUpdate(gt_BasicAttackTargetingMode, c_playerAny, AbilityCommand("attack", 0), c_targetModeStateOff);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5443

    gt_BasicAttackGroupTargetingMode = TriggerCreate("gt_BasicAttackGroupTargetingMode_Func");
    TriggerEnable(gt_BasicAttackGroupTargetingMode, false);
    TriggerAddEventTargetModeUpdate(gt_BasicAttackGroupTargetingMode, c_playerAny, AbilityCommand("attack", 0), c_targetModeStateOff);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:7103

    gt_TerranMakeSupplySupplyDepotTargeting = TriggerCreate("gt_TerranMakeSupplySupplyDepotTargeting_Func");
    TriggerEnable(gt_TerranMakeSupplySupplyDepotTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_TerranMakeSupplySupplyDepotTargeting, c_playerAny, AbilityCommand("TerranBuild", 1), c_targetModeStateAny);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:8245

    gt_TerranMakeBarracksBarracksTargeting = TriggerCreate("gt_TerranMakeBarracksBarracksTargeting_Func");
    TriggerEnable(gt_TerranMakeBarracksBarracksTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_TerranMakeBarracksBarracksTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:11347

    gt_ZergMakeSpawningPoolTargeting = TriggerCreate("gt_ZergMakeSpawningPoolTargeting_Func");
    TriggerEnable(gt_ZergMakeSpawningPoolTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ZergMakeSpawningPoolTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:12556

    gt_ZergMakeExtractorTargeting = TriggerCreate("gt_ZergMakeExtractorTargeting_Func");
    TriggerEnable(gt_ZergMakeExtractorTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ZergMakeExtractorTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:13534

    gt_ZergMakeRoachWarrenTargeting = TriggerCreate("gt_ZergMakeRoachWarrenTargeting_Func");
    TriggerEnable(gt_ZergMakeRoachWarrenTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ZergMakeRoachWarrenTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:17144

    gt_ProtossBuildPylonTargeting = TriggerCreate("gt_ProtossBuildPylonTargeting_Func");
    TriggerEnable(gt_ProtossBuildPylonTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ProtossBuildPylonTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:18259

    gt_ProtossBuildCyberCoreTargeting = TriggerCreate("gt_ProtossBuildCyberCoreTargeting_Func");
    TriggerEnable(gt_ProtossBuildCyberCoreTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ProtossBuildCyberCoreTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:2370

    gt_TBuildPylonTargeting = TriggerCreate("gt_TBuildPylonTargeting_Func");
    TriggerEnable(gt_TBuildPylonTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_TBuildPylonTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3068

    gt_TMakeAssimilatorTargeting = TriggerCreate("gt_TMakeAssimilatorTargeting_Func");
    TriggerEnable(gt_TMakeAssimilatorTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_TMakeAssimilatorTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:4490

    gt_BasicAttackTargetingMode = TriggerCreate("gt_BasicAttackTargetingMode_Func");
    TriggerEnable(gt_BasicAttackTargetingMode, false);
    TriggerAddEventTargetModeUpdate(gt_BasicAttackTargetingMode, c_playerAny, AbilityCommand("attack", 0), c_targetModeStateOff);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:5443

    gt_BasicAttackGroupTargetingMode = TriggerCreate("gt_BasicAttackGroupTargetingMode_Func");
    TriggerEnable(gt_BasicAttackGroupTargetingMode, false);
    TriggerAddEventTargetModeUpdate(gt_BasicAttackGroupTargetingMode, c_playerAny, AbilityCommand("attack", 0), c_targetModeStateOff);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:7103

    gt_TerranMakeSupplySupplyDepotTargeting = TriggerCreate("gt_TerranMakeSupplySupplyDepotTargeting_Func");
    TriggerEnable(gt_TerranMakeSupplySupplyDepotTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_TerranMakeSupplySupplyDepotTargeting, c_playerAny, AbilityCommand("TerranBuild", 1), c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:8245

    gt_TerranMakeBarracksBarracksTargeting = TriggerCreate("gt_TerranMakeBarracksBarracksTargeting_Func");
    TriggerEnable(gt_TerranMakeBarracksBarracksTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_TerranMakeBarracksBarracksTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:11347

    gt_ZergMakeSpawningPoolTargeting = TriggerCreate("gt_ZergMakeSpawningPoolTargeting_Func");
    TriggerEnable(gt_ZergMakeSpawningPoolTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ZergMakeSpawningPoolTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:12556

    gt_ZergMakeExtractorTargeting = TriggerCreate("gt_ZergMakeExtractorTargeting_Func");
    TriggerEnable(gt_ZergMakeExtractorTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ZergMakeExtractorTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:13534

    gt_ZergMakeRoachWarrenTargeting = TriggerCreate("gt_ZergMakeRoachWarrenTargeting_Func");
    TriggerEnable(gt_ZergMakeRoachWarrenTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ZergMakeRoachWarrenTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:17144

    gt_ProtossBuildPylonTargeting = TriggerCreate("gt_ProtossBuildPylonTargeting_Func");
    TriggerEnable(gt_ProtossBuildPylonTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ProtossBuildPylonTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:18259

    gt_ProtossBuildCyberCoreTargeting = TriggerCreate("gt_ProtossBuildCyberCoreTargeting_Func");
    TriggerEnable(gt_ProtossBuildCyberCoreTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_ProtossBuildCyberCoreTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2mapMapScript.galaxy:2370

    gt_TBuildPylonTargeting = TriggerCreate("gt_TBuildPylonTargeting_Func");
    TriggerEnable(gt_TBuildPylonTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_TBuildPylonTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2mapMapScript.galaxy:3068

    gt_TMakeAssimilatorTargeting = TriggerCreate("gt_TMakeAssimilatorTargeting_Func");
    TriggerEnable(gt_TMakeAssimilatorTargeting, false);
    TriggerAddEventTargetModeUpdate(gt_TMakeAssimilatorTargeting, c_playerAny, null, c_targetModeStateAny);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4781

    libVCMI_gt_PM_SoATargetingClearAll = TriggerCreate("libVCMI_gt_PM_SoATargetingClearAll_Func");
    TriggerEnable(libVCMI_gt_PM_SoATargetingClearAll, false);
    TriggerAddEventTargetModeUpdate(libVCMI_gt_PM_SoATargetingClearAll, 1, null, c_targetModeStateOff);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5082

void libVCMI_gt_PM_SoATargetingPurifierBeamOn_Init () {
    libVCMI_gt_PM_SoATargetingPurifierBeamOn = TriggerCreate("libVCMI_gt_PM_SoATargetingPurifierBeamOn_Func");
    TriggerAddEventTargetModeUpdate(libVCMI_gt_PM_SoATargetingPurifierBeamOn, 1, AbilityCommand("SOAPurifierBeam", 0), c_targetModeStateOn);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5111

void libVCMI_gt_PM_SoATargetingPurifierBeamOff_Init () {
    libVCMI_gt_PM_SoATargetingPurifierBeamOff = TriggerCreate("libVCMI_gt_PM_SoATargetingPurifierBeamOff_Func");
    TriggerAddEventTargetModeUpdate(libVCMI_gt_PM_SoATargetingPurifierBeamOff, 1, AbilityCommand("SOAPurifierBeam", 0), c_targetModeStateOff);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5170

    gt_FrostboltTargetingModeOn = TriggerCreate("gt_FrostboltTargetingModeOn_Func");
    TriggerEnable(gt_FrostboltTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_FrostboltTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("JainaFrostbolt", 0), c_targetModeStateOn);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5203

    gt_FrostboltTargetingModeOff = TriggerCreate("gt_FrostboltTargetingModeOff_Func");
    TriggerEnable(gt_FrostboltTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_FrostboltTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("JainaFrostbolt", 0), c_targetModeStateOff);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5249

    gt_BlizzardTargetingModeOn = TriggerCreate("gt_BlizzardTargetingModeOn_Func");
    TriggerEnable(gt_BlizzardTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_BlizzardTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("JainaBlizzard", 0), c_targetModeStateOn);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5282

    gt_BlizzardTargetingModeOff = TriggerCreate("gt_BlizzardTargetingModeOff_Func");
    TriggerEnable(gt_BlizzardTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_BlizzardTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("JainaBlizzard", 0), c_targetModeStateOff);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5328

    gt_StormBoltTargetingModeOn = TriggerCreate("gt_StormBoltTargetingModeOn_Func");
    TriggerEnable(gt_StormBoltTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_StormBoltTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("MuradinStormBolt", 0), c_targetModeStateOn);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5361

    gt_StormBoltTargetingModeOff = TriggerCreate("gt_StormBoltTargetingModeOff_Func");
    TriggerEnable(gt_StormBoltTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_StormBoltTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("MuradinStormBolt", 0), c_targetModeStateOff);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5407

    gt_DwarfTossTargetingModeOn = TriggerCreate("gt_DwarfTossTargetingModeOn_Func");
    TriggerEnable(gt_DwarfTossTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_DwarfTossTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("MuradinDwarfToss", 0), c_targetModeStateOn);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5440

    gt_DwarfTossTargetingModeOff = TriggerCreate("gt_DwarfTossTargetingModeOff_Func");
    TriggerEnable(gt_DwarfTossTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_DwarfTossTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("MuradinDwarfToss", 0), c_targetModeStateOff);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5486

    gt_LightEluneTargetingModeOn = TriggerCreate("gt_LightEluneTargetingModeOn_Func");
    TriggerEnable(gt_LightEluneTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_LightEluneTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("TyrandeLightofElune", 0), c_targetModeStateOn);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5519

    gt_LightEluneTargetingModeOff = TriggerCreate("gt_LightEluneTargetingModeOff_Func");
    TriggerEnable(gt_LightEluneTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_LightEluneTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("TyrandeLightofElune", 0), c_targetModeStateOff);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5170

    gt_FrostboltTargetingModeOn = TriggerCreate("gt_FrostboltTargetingModeOn_Func");
    TriggerEnable(gt_FrostboltTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_FrostboltTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("JainaFrostbolt", 0), c_targetModeStateOn);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5203

    gt_FrostboltTargetingModeOff = TriggerCreate("gt_FrostboltTargetingModeOff_Func");
    TriggerEnable(gt_FrostboltTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_FrostboltTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("JainaFrostbolt", 0), c_targetModeStateOff);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5249

    gt_BlizzardTargetingModeOn = TriggerCreate("gt_BlizzardTargetingModeOn_Func");
    TriggerEnable(gt_BlizzardTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_BlizzardTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("JainaBlizzard", 0), c_targetModeStateOn);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5282

    gt_BlizzardTargetingModeOff = TriggerCreate("gt_BlizzardTargetingModeOff_Func");
    TriggerEnable(gt_BlizzardTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_BlizzardTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("JainaBlizzard", 0), c_targetModeStateOff);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5328

    gt_StormBoltTargetingModeOn = TriggerCreate("gt_StormBoltTargetingModeOn_Func");
    TriggerEnable(gt_StormBoltTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_StormBoltTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("MuradinStormBolt", 0), c_targetModeStateOn);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5361

    gt_StormBoltTargetingModeOff = TriggerCreate("gt_StormBoltTargetingModeOff_Func");
    TriggerEnable(gt_StormBoltTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_StormBoltTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("MuradinStormBolt", 0), c_targetModeStateOff);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5407

    gt_DwarfTossTargetingModeOn = TriggerCreate("gt_DwarfTossTargetingModeOn_Func");
    TriggerEnable(gt_DwarfTossTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_DwarfTossTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("MuradinDwarfToss", 0), c_targetModeStateOn);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5440

    gt_DwarfTossTargetingModeOff = TriggerCreate("gt_DwarfTossTargetingModeOff_Func");
    TriggerEnable(gt_DwarfTossTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_DwarfTossTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("MuradinDwarfToss", 0), c_targetModeStateOff);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5486

    gt_LightEluneTargetingModeOn = TriggerCreate("gt_LightEluneTargetingModeOn_Func");
    TriggerEnable(gt_LightEluneTargetingModeOn, false);
    TriggerAddEventTargetModeUpdate(gt_LightEluneTargetingModeOn, gv_pLAYER_01_USER, AbilityCommand("TyrandeLightofElune", 0), c_targetModeStateOn);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:5519

    gt_LightEluneTargetingModeOff = TriggerCreate("gt_LightEluneTargetingModeOff_Func");
    TriggerEnable(gt_LightEluneTargetingModeOff, false);
    TriggerAddEventTargetModeUpdate(gt_LightEluneTargetingModeOff, gv_pLAYER_01_USER, AbilityCommand("TyrandeLightofElune", 0), c_targetModeStateOff);
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:25268

    libGDHL_gt_HeroZagaraNydusWormTargetingState = TriggerCreate("libGDHL_gt_HeroZagaraNydusWormTargetingState_Func");
    TriggerEnable(libGDHL_gt_HeroZagaraNydusWormTargetingState, false);
    TriggerAddEventTargetModeUpdate(libGDHL_gt_HeroZagaraNydusWormTargetingState, c_playerAny, AbilityCommand("ZagaraSummonNydusWorm", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(libGDHL_gt_HeroZagaraNydusWormTargetingState, c_playerAny, AbilityCommand("ZagaraSummonNydusWorm", 0), c_targetModeStateOff);
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:25269

    TriggerEnable(libGDHL_gt_HeroZagaraNydusWormTargetingState, false);
    TriggerAddEventTargetModeUpdate(libGDHL_gt_HeroZagaraNydusWormTargetingState, c_playerAny, AbilityCommand("ZagaraSummonNydusWorm", 0), c_targetModeStateOn);
    TriggerAddEventTargetModeUpdate(libGDHL_gt_HeroZagaraNydusWormTargetingState, c_playerAny, AbilityCommand("ZagaraSummonNydusWorm", 0), c_targetModeStateOff);
}

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibMHmu.galaxy:1489

void libMHmu_gt_PayloadTargetOn_Init () {
    libMHmu_gt_PayloadTargetOn = TriggerCreate("libMHmu_gt_PayloadTargetOn_Func");
    TriggerAddEventTargetModeUpdate(libMHmu_gt_PayloadTargetOn, c_playerAny, AbilityCommand("MapMechanicAbilityTarget", 0), c_targetModeStateOn);
}

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibMHmu.galaxy:1520

void libMHmu_gt_PayloadTargetOff_Init () {
    libMHmu_gt_PayloadTargetOff = TriggerCreate("libMHmu_gt_PayloadTargetOff_Func");
    TriggerAddEventTargetModeUpdate(libMHmu_gt_PayloadTargetOff, c_playerAny, AbilityCommand("MapMechanicAbilityTarget", 0), c_targetModeStateOff);
}

mods/heromods/dehaka.stormmodbase.stormdata/LibHDEH.galaxy:272

    libHDEH_gt_HeroDehakaBrushStalkerStart = TriggerCreate("libHDEH_gt_HeroDehakaBrushStalkerStart_Func");
    TriggerEnable(libHDEH_gt_HeroDehakaBrushStalkerStart, false);
    TriggerAddEventTargetModeUpdate(libHDEH_gt_HeroDehakaBrushStalkerStart, c_playerAny, AbilityCommand("DehakaBrushstalker", 0), c_targetModeStateOn);
}

mods/heromods/dehaka.stormmodbase.stormdata/LibHDEH.galaxy:293

    libHDEH_gt_HeroDehakaBrushStalkerEnd = TriggerCreate("libHDEH_gt_HeroDehakaBrushStalkerEnd_Func");
    TriggerEnable(libHDEH_gt_HeroDehakaBrushStalkerEnd, false);
    TriggerAddEventTargetModeUpdate(libHDEH_gt_HeroDehakaBrushStalkerEnd, c_playerAny, AbilityCommand("DehakaBrushstalker", 0), c_targetModeStateOff);
}

mods/heromods/thefirelords.stormmodbase.stormdata/LibHMaj.galaxy:389

    libHMaj_gt_HeroRagnarosMoltenCoreCreateMarkers = TriggerCreate("libHMaj_gt_HeroRagnarosMoltenCoreCreateMarkers_Func");
    TriggerEnable(libHMaj_gt_HeroRagnarosMoltenCoreCreateMarkers, false);
    TriggerAddEventTargetModeUpdate(libHMaj_gt_HeroRagnarosMoltenCoreCreateMarkers, c_playerAny, AbilityCommand("RagnarosMoltenCore", 0), c_targetModeStateOn);
}

mods/heromods/thefirelords.stormmodbase.stormdata/LibHMaj.galaxy:434

    libHMaj_gt_HeroRagnarosMoltenCoreDestroyMarkers = TriggerCreate("libHMaj_gt_HeroRagnarosMoltenCoreDestroyMarkers_Func");
    TriggerEnable(libHMaj_gt_HeroRagnarosMoltenCoreDestroyMarkers, false);
    TriggerAddEventTargetModeUpdate(libHMaj_gt_HeroRagnarosMoltenCoreDestroyMarkers, c_playerAny, AbilityCommand("RagnarosMoltenCore", 0), c_targetModeStateOff);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:23008

    libCOMI_gt_CM_NovaGriffinTransportStop = TriggerCreate("libCOMI_gt_CM_NovaGriffinTransportStop_Func");
    TriggerEnable(libCOMI_gt_CM_NovaGriffinTransportStop, false);
    TriggerAddEventTargetModeUpdate(libCOMI_gt_CM_NovaGriffinTransportStop, c_playerAny, AbilityCommand("NovaGriffinTransportUnloadUnits", 0), c_targetModeStateOff);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:25658

    libCOMI_gt_CM_TychusMedicTransportTargetOn = TriggerCreate("libCOMI_gt_CM_TychusMedicTransportTargetOn_Func");
    TriggerEnable(libCOMI_gt_CM_TychusMedicTransportTargetOn, false);
    TriggerAddEventTargetModeUpdate(libCOMI_gt_CM_TychusMedicTransportTargetOn, c_playerAny, AbilityCommand("TychusMedicTransportLoadUnits", 0), c_targetModeStateOn);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:25699

    libCOMI_gt_CM_TychusMedicTransportTargetOff = TriggerCreate("libCOMI_gt_CM_TychusMedicTransportTargetOff_Func");
    TriggerEnable(libCOMI_gt_CM_TychusMedicTransportTargetOff, false);
    TriggerAddEventTargetModeUpdate(libCOMI_gt_CM_TychusMedicTransportTargetOff, c_playerAny, AbilityCommand("TychusMedicTransportLoadUnits", 0), c_targetModeStateOff);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:25732

    libCOMI_gt_CM_TychusMedicTransportStop = TriggerCreate("libCOMI_gt_CM_TychusMedicTransportStop_Func");
    TriggerEnable(libCOMI_gt_CM_TychusMedicTransportStop, false);
    TriggerAddEventTargetModeUpdate(libCOMI_gt_CM_TychusMedicTransportStop, c_playerAny, AbilityCommand("TychusMedicTransportUnloadUnits", 0), c_targetModeStateOff);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:27895

    libCOMI_gt_CM_ZeratulTopBarRallyCancel = TriggerCreate("libCOMI_gt_CM_ZeratulTopBarRallyCancel_Func");
    TriggerEnable(libCOMI_gt_CM_ZeratulTopBarRallyCancel, false);
    TriggerAddEventTargetModeUpdate(libCOMI_gt_CM_ZeratulTopBarRallyCancel, c_playerAny, AbilityCommand("RallyZeratulTopBar", 0), c_targetModeStateOff);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:29195

    libCOMI_gt_CM_SoATargetingCancel = TriggerCreate("libCOMI_gt_CM_SoATargetingCancel_Func");
    TriggerEnable(libCOMI_gt_CM_SoATargetingCancel, false);
    TriggerAddEventTargetModeUpdate(libCOMI_gt_CM_SoATargetingCancel, c_playerAny, null, c_targetModeStateOff);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:29475

void libCOMI_gt_PM_SoATargetingPurifierBeamOn_Init () {
    libCOMI_gt_PM_SoATargetingPurifierBeamOn = TriggerCreate("libCOMI_gt_PM_SoATargetingPurifierBeamOn_Func");
    TriggerAddEventTargetModeUpdate(libCOMI_gt_PM_SoATargetingPurifierBeamOn, c_playerAny, AbilityCommand("SOAPurifierBeam", 0), c_targetModeStateOn);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:29495

void libCOMI_gt_PM_SoATargetingPurifierBeamOff_Init () {
    libCOMI_gt_PM_SoATargetingPurifierBeamOff = TriggerCreate("libCOMI_gt_PM_SoATargetingPurifierBeamOff_Func");
    TriggerAddEventTargetModeUpdate(libCOMI_gt_PM_SoATargetingPurifierBeamOff, c_playerAny, AbilityCommand("SOAPurifierBeam", 0), c_targetModeStateOff);
}