# Triggering Ability Target Point
Grammar — Triggering ability target point
Flags —Native
|Function
Returns the triggering ability target point. Used in response to “Unit Uses Ability”.
Returns — point
native point EventUnitTargetPoint();
# Supported triggers
- Unit Uses Ability — TriggerAddEventUnitAbility
# Related
Category: Ability / Basic
- Remove Ability —
void
— UnitAbilityRemove - Add Ability —
void
— UnitAbilityAdd - Unit Uses Ability —
void
— TriggerAddEventUnitAbility - Unit Changes Ability Auto Cast State —
void
— TriggerAddEventUnitAbilityAutoCastChange - Triggering Ability —
abilcmd
— EventUnitAbility - Triggering Ability Stage —
int
<preset::AbilityStage> — EventUnitAbilityStage - Triggering Ability Target Point —
point
— EventUnitTargetPoint - Triggering Ability Target Unit —
unit
— EventUnitTargetUnit - Triggering Ability Other Unit —
unit
— EventUnitAbilityOtherUnit - Ability From Item or Trigger —
abilcmd
— libNtve_gf_EventItemAbilityOrUnitAbility - Unit Is Created —
void
— TriggerAddEventUnitCreated - Created Unit —
unit
— EventUnitCreatedUnit - Behavior That Created Unit —
string
<gamelink::Behavior> — EventUnitCreatedBehavior - Ability That Created Unit —
string
<gamelink::Abil> — EventUnitCreatedAbil - Show/Hide Ability For Unit —
void
— UnitAbilityShow - Ability Enabled For Unit —
bool
— UnitAbilityCheck - Number Of Abilities On Unit —
int
— UnitAbilityCount - Unit Ability —
string
<gamelink::Abil> — UnitAbilityGet - Unit Ability By Class —
string
<gamelink::Abil> — libNtve_gf_UnitAbilityGetByType - Unit Ability Command State —
bool
— UnitCheckAbilCmdState - Unit Ability Order State (Flags) —
int
— UnitAbilOrderStateFlags - Unit Has Ability —
bool
— UnitAbilityExists - Enable/Disable Ability For Unit —
void
— UnitAbilityEnable - Add Level To Unit Ability —
void
— UnitAbilityChangeLevel - Replace Unit Ability —
void
— UnitAbilityChangeLink - Set Ability Default Submenu —
void
— UnitAbilityChangeCardId - Current Level For Unit Ability —
int
— UnitAbilityGetLevel - Maximum Level For Unit Ability —
int
— UnitAbilityMaxLevel - Ability Matches Filters —
bool
— libNtve_gf_AbilityMatchesFilters - Unit Ability By Filters —
string
<gamelink::Abil> — libNtve_gf_UnitAbilityByFilters - Unit Ability Default Submenu —
string
— UnitAbilityGetCardId
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:1004
gv_novaNukeCount -= 1;
if ((DistanceBetweenPoints(CameraGetTarget(gv_pLAYER01_USER), EventUnitTargetPoint()) <= 4.0)) {
Wait(1.5, c_timeGame);
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.2, 2.0, 100.0, 2.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:449
}
gv_multiKillLastNukePosition = EventUnitTargetPoint();
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:1004
gv_novaNukeCount -= 1;
if ((DistanceBetweenPoints(CameraGetTarget(gv_pLAYER01_USER), EventUnitTargetPoint()) <= 4.0)) {
Wait(1.5, c_timeGame);
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.2, 2.0, 100.0, 2.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:449
}
gv_multiKillLastNukePosition = EventUnitTargetPoint();
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:2803
// Conditions
if (testConds) {
if (!((RegionContainsPoint(RegionFromId(11), EventUnitTargetPoint()) == true))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map/MapScript.galaxy:1770
}
if (!((RegionContainsPoint(RegionFromId(8), EventUnitTargetPoint()) == true))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:3077
}
if (!((RegionContainsPoint(RegionFromId(7), EventUnitTargetPoint()) == true))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:459
SoundPlayAtPoint(SoundLink("UI_ResourcePickup", -1), PlayerGroupAll(), UnitGetPosition(lv_essenceUnit), 0.0, 100.0, 0.0);
UnitKill(lv_essenceUnit);
gf_KillLargeHoldingPen(EventUnitTargetPoint());
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropCustom, c_playerPropOperAdd, 10);
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropCustomCollected, c_playerPropOperAdd, 10);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:1641
}
else if (auto9F41246F_val == "GiantYeti") {
gf_KillLargeHoldingPen(EventUnitTargetPoint());
UnitSetOwner(EventUnitTargetUnit(), gv_pLAYER_01_USER, true);
UnitSelect(EventUnitTargetUnit(), gv_pLAYER_01_USER, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:4724
Wait(15.0, c_timeGame);
while ((UnitOrder(EventUnit(), 0) == OrderTargetingPoint(AbilityCommand("TacNukeStrike", 0), EventUnitTargetPoint()))) {
UnitGroupAddUnitGroup(lv_fleeingunits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 9.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AISetGroupScriptControlled(lv_fleeingunits, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:4725
Wait(15.0, c_timeGame);
while ((UnitOrder(EventUnit(), 0) == OrderTargetingPoint(AbilityCommand("TacNukeStrike", 0), EventUnitTargetPoint()))) {
UnitGroupAddUnitGroup(lv_fleeingunits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 9.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AISetGroupScriptControlled(lv_fleeingunits, true);
auto8C575019_g = lv_fleeingunits;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:3108
}
lv_targetPoint = EventUnitTargetPoint();
if ((PointGetX(gv_hyperionBlinkLoc) == PointGetX(lv_targetPoint)) && (PointGetY(gv_hyperionBlinkLoc) == PointGetY(lv_targetPoint))) {
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:3165
UnitAbilityEnable(gv_hyperion, "SJHyperionFighters", false);
gv_hyperionFighterTarget = EventUnitTargetPoint();
if ((libNtve_gf_UnitGroupIsDead(gv_hyperionFighterGroup) == false)) {
auto053A90F5_g = gv_hyperionFighterGroup;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map — MapScript.galaxy:2803
// Conditions
if (testConds) {
if (!((RegionContainsPoint(RegionFromId(11), EventUnitTargetPoint()) == true))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map — MapScript.galaxy:1770
}
if (!((RegionContainsPoint(RegionFromId(8), EventUnitTargetPoint()) == true))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:3077
}
if (!((RegionContainsPoint(RegionFromId(7), EventUnitTargetPoint()) == true))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:459
SoundPlayAtPoint(SoundLink("UI_ResourcePickup", -1), PlayerGroupAll(), UnitGetPosition(lv_essenceUnit), 0.0, 100.0, 0.0);
UnitKill(lv_essenceUnit);
gf_KillLargeHoldingPen(EventUnitTargetPoint());
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropCustom, c_playerPropOperAdd, 10);
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropCustomCollected, c_playerPropOperAdd, 10);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:1641
}
else if (auto9F41246F_val == "GiantYeti") {
gf_KillLargeHoldingPen(EventUnitTargetPoint());
UnitSetOwner(EventUnitTargetUnit(), gv_pLAYER_01_USER, true);
UnitSelect(EventUnitTargetUnit(), gv_pLAYER_01_USER, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:4724
Wait(15.0, c_timeGame);
while ((UnitOrder(EventUnit(), 0) == OrderTargetingPoint(AbilityCommand("TacNukeStrike", 0), EventUnitTargetPoint()))) {
UnitGroupAddUnitGroup(lv_fleeingunits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 9.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AISetGroupScriptControlled(lv_fleeingunits, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:4725
Wait(15.0, c_timeGame);
while ((UnitOrder(EventUnit(), 0) == OrderTargetingPoint(AbilityCommand("TacNukeStrike", 0), EventUnitTargetPoint()))) {
UnitGroupAddUnitGroup(lv_fleeingunits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 9.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AISetGroupScriptControlled(lv_fleeingunits, true);
auto8C575019_g = lv_fleeingunits;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:3108
}
lv_targetPoint = EventUnitTargetPoint();
if ((PointGetX(gv_hyperionBlinkLoc) == PointGetX(lv_targetPoint)) && (PointGetY(gv_hyperionBlinkLoc) == PointGetY(lv_targetPoint))) {
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:3165
UnitAbilityEnable(gv_hyperion, "SJHyperionFighters", false);
gv_hyperionFighterTarget = EventUnitTargetPoint();
if ((libNtve_gf_UnitGroupIsDead(gv_hyperionFighterGroup) == false)) {
auto053A90F5_g = gv_hyperionFighterGroup;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignDataHelperLib.galaxy:85
// Variable Initialization
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignDataHelperLib.galaxy:86
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:6476
libNtve_gf_MakeUnitLookAtUnit(gv_narud, "SlowStanding", EventUnitTargetUnit(), "Ref_Center");
while ((UnitIsAlive(EventUnitTargetUnit()) == true) && (EventUnitTargetUnit() == OrderGetTargetUnit(UnitOrder(gv_narud, 0)))) {
if ((AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) >= lv_clampLeft) && (AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) <= lv_clamRight)) {
if ((lv_lookingAtTarget == false)) {
lv_lookingAtTarget = true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:6476
libNtve_gf_MakeUnitLookAtUnit(gv_narud, "SlowStanding", EventUnitTargetUnit(), "Ref_Center");
while ((UnitIsAlive(EventUnitTargetUnit()) == true) && (EventUnitTargetUnit() == OrderGetTargetUnit(UnitOrder(gv_narud, 0)))) {
if ((AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) >= lv_clampLeft) && (AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) <= lv_clamRight)) {
if ((lv_lookingAtTarget == false)) {
lv_lookingAtTarget = true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:6486
if ((lv_lookingAtTarget == true)) {
lv_lookingAtTarget = false;
if ((AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) <= lv_clampLeft)) {
libNtve_gf_MakeUnitLookAtPoint(gv_narud, "SlowStanding", PointWithOffsetPolar(UnitGetPosition(gv_narud), 20.0, 230.0));
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:6476
libNtve_gf_MakeUnitLookAtUnit(gv_narud, "SlowStanding", EventUnitTargetUnit(), "Ref_Center");
while ((UnitIsAlive(EventUnitTargetUnit()) == true) && (EventUnitTargetUnit() == OrderGetTargetUnit(UnitOrder(gv_narud, 0)))) {
if ((AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) >= lv_clampLeft) && (AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) <= lv_clamRight)) {
if ((lv_lookingAtTarget == false)) {
lv_lookingAtTarget = true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:6476
libNtve_gf_MakeUnitLookAtUnit(gv_narud, "SlowStanding", EventUnitTargetUnit(), "Ref_Center");
while ((UnitIsAlive(EventUnitTargetUnit()) == true) && (EventUnitTargetUnit() == OrderGetTargetUnit(UnitOrder(gv_narud, 0)))) {
if ((AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) >= lv_clampLeft) && (AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) <= lv_clamRight)) {
if ((lv_lookingAtTarget == false)) {
lv_lookingAtTarget = true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:6486
if ((lv_lookingAtTarget == true)) {
lv_lookingAtTarget = false;
if ((AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) <= lv_clampLeft)) {
libNtve_gf_MakeUnitLookAtPoint(gv_narud, "SlowStanding", PointWithOffsetPolar(UnitGetPosition(gv_narud), 20.0, 230.0));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5644
// Variable Initialization
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 10.0;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5645
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 10.0;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5728
// Variable Initialization
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5729
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5812
// Variable Initialization
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 12.0;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5813
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 12.0;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5934
// Variable Initialization
lv_startingPoint = UnitGetPosition(EventUnit());
lv_targetPoint = EventUnitTargetPoint();
lv_xDistance = (PointGetX(lv_targetPoint) - PointGetX(lv_startingPoint));
lv_yDistance = (PointGetY(lv_targetPoint) - PointGetY(lv_startingPoint));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5964
libNtve_gf_SendActorMessageToUnit(lv_kerriganStrikeAmon, "Signal StrikeAmonStart");
UnitCreateEffectUnit(lv_kerriganStrikeAmon, "StrikeAmonStart", lv_kerriganStrikeAmon);
libNtve_gf_MakeUnitFacePoint(lv_kerriganStrikeAmon, EventUnitTargetPoint(), 0.5);
lv_amonTargetUnit = UnitGroupClosestToPoint(UnitGroup("KerriganEpilogue03StrikeAmonTarget", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), EventUnitTargetPoint());
lv_i = 1;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5965
UnitCreateEffectUnit(lv_kerriganStrikeAmon, "StrikeAmonStart", lv_kerriganStrikeAmon);
libNtve_gf_MakeUnitFacePoint(lv_kerriganStrikeAmon, EventUnitTargetPoint(), 0.5);
lv_amonTargetUnit = UnitGroupClosestToPoint(UnitGroup("KerriganEpilogue03StrikeAmonTarget", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), EventUnitTargetPoint());
lv_i = 1;
for ( ; ( (auto9910E736_ai >= 0 && lv_i <= auto9910E736_ae) || (auto9910E736_ai < 0 && lv_i >= auto9910E736_ae) ) ; lv_i += auto9910E736_ai ) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4769
lv_abathurPlayer = UnitGetOwner(EventUnit());
lv_alliedPlayers = PlayerGroupEmpty();
lv_location = EventUnitTargetPoint();
// Actions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:5643
lv_symbioteHivemindHats = UnitGroup("AbathurSymbiote", UnitGetOwner(lv_unit), RegionCircle(UnitGetPosition(lv_unit), libGDHL_gv_abathurSymbioteHivemindMaxRange_C), UnitFilter(0, 0, (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterEnemy) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), (libGDHL_gv_abathurSymbioteHivemindMaxHosts_C + 1));
UnitGroupIssueOrder(lv_symbioteHivemindHats, OrderTargetingPoint(AbilityCommand("AbathurSymbioteStab", 0), EventUnitTargetPoint()), c_orderQueueReplace);
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:5669
lv_abathurPlayer = UnitGetOwner(EventUnit());
lv_alliedPlayers = PlayerGroupEmpty();
lv_location = EventUnitTargetPoint();
// Actions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:10578
if ((lv_waterElemental != null) && (UnitBehaviorCount(lv_waterElemental, "JainaWaterElementalStatusAvailable") == 1)) {
UnitBehaviorAdd(lv_waterElemental, "JainaWaterElementalAIAbilityOverride", lv_unit, 1);
UnitIssueOrder(lv_waterElemental, OrderTargetingPoint(AbilityCommand("JainaWaterElementalFrostbolt", 0), EventUnitTargetPoint()), c_orderQueueAddToFront);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:10624
if ((lv_waterElemental != null) && (UnitBehaviorCount(lv_waterElemental, "JainaWaterElementalStatusAvailable") == 1)) {
UnitBehaviorAdd(lv_waterElemental, "JainaWaterElementalAIAbilityOverride", lv_unit, 1);
UnitIssueOrder(lv_waterElemental, OrderTargetingPoint(AbilityCommand("JainaWaterElementalConeOfCold", 0), EventUnitTargetPoint()), c_orderQueueAddToFront);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11409
lv_offset = CatalogFieldValueGetAsFixed(c_gameCatalogActor, "L90ETCPowerslideGuide", "Height", c_playerAny);
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_eTC = EventUnit();
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:14265
}
if ((EventUnitTargetPoint() != null)) {
UnitCreateEffectPoint(EventUnit(), "LostVikingsRallyPointDummyEffectForSound", EventUnitTargetPoint());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:14266
if ((EventUnitTargetPoint() != null)) {
UnitCreateEffectPoint(EventUnit(), "LostVikingsRallyPointDummyEffectForSound", EventUnitTargetPoint());
}
else {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:20948
// Variable Initialization
lv_casterPoint = UnitGetPosition(EventUnit());
lv_targetPoint = EventUnitTargetPoint();
// Actions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:20955
}
UnitCreateEffectPoint(EventUnit(), "SgtHammerModifyUnitTankTurret", EventUnitTargetPoint());
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:4502
libSprt_gv_soundRepeatCasterUnit = EventUnit();
libSprt_gv_soundRepeatTargetUnit = EventUnit();
libSprt_gv_soundRepeatTargetPoint = EventUnitTargetPoint();
TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Sprt_70320A3A") + StringToText((libSprt_gv_soundRepeatCurrentAbility))), true);
TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Sprt_03F004D0") + UnitTypeGetName(UnitGetType(EventUnit()))), true);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:4505
TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Sprt_70320A3A") + StringToText((libSprt_gv_soundRepeatCurrentAbility))), true);
TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Sprt_03F004D0") + UnitTypeGetName(UnitGetType(EventUnit()))), true);
TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Sprt_5AEA6C15") + libCore_gf_ConvertPointToText(EventUnitTargetPoint())), true);
if ((EventUnitTargetUnit() != null)) {
libSprt_gv_soundRepeatTargetUnit = EventUnitTargetUnit();
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:791
if ((lv_aurielCurrentEnergy_Raw < (lv_aurielBaseEnergyCap * 0.5))) {
UnitCreateEffectPoint(lv_auriel, "AurielRayOfHeavenLowHealingStoredInitialSet", EventUnitTargetPoint());
}
else {
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:795
else {
if ((lv_aurielCurrentEnergy_Raw >= lv_aurielBaseEnergyCap)) {
UnitCreateEffectPoint(lv_auriel, "AurielRayOfHeavenMaxHealingStoredInitialSet", EventUnitTargetPoint());
}
else {
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:798
}
else {
UnitCreateEffectPoint(lv_auriel, "AurielRayOfHeavenHighHealingStoredInitialSet", EventUnitTargetPoint());
}
}
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:309
lv_dehakaPlayer = EventPlayer();
lv_alliedPlayers = PlayerGroupEmpty();
lv_location = EventUnitTargetPoint();
// Actions
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:1137
lv_dVaPilotUnit = EventUnit();
lv_dVaPlayer = UnitGetOwner(lv_dVaPilotUnit);
UnitCreate(1, "HeroDVaMech", c_unitCreateIgnorePlacement, lv_dVaPlayer, EventUnitTargetPoint(), UnitGetFacing(lv_dVaPilotUnit), null);
libHDVA_gv_dVaCallMechMechBeingSummoned[lv_dVaPlayer] = UnitLastCreated();
UnitCreateEffectUnit(lv_dVaPilotUnit, "DVaMechSpawnSet", libHDVA_gv_dVaCallMechMechBeingSummoned[lv_dVaPlayer]);
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:1416
}
else {
lv_targetPoint = EventUnitTargetPoint();
if ((lv_targetPoint != null) && (lv_targetPoint != libHDVA_gv_heroDVaAttackTargetPoint[lv_dVaPlayer])) {
libHDVA_gv_heroDVaAttackTargetPoint[lv_dVaPlayer] = lv_targetPoint;
mods/heromods/kelthuzad.stormmod — base.stormdata/LibHKEL.galaxy:504
// Variable Initialization
lv_casterPlayer = UnitGetOwner(EventUnit());
lv_point = EventUnitTargetPoint();
// Conditions
mods/heromods/lucio.stormmod — base.stormdata/LibHLUC.galaxy:190
}
else {
if ((EventUnitTargetPoint() != null) && (DistanceBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(lv_lucioUnit)) > 0.0)) {
if ((UnitHasBehavior2(lv_lucioUnit, "LucioWeaponCasterTargetFinderDisabler") == true)) {
lv_hadDisabler = true;
mods/heromods/lucio.stormmod — base.stormdata/LibHLUC.galaxy:190
}
else {
if ((EventUnitTargetPoint() != null) && (DistanceBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(lv_lucioUnit)) > 0.0)) {
if ((UnitHasBehavior2(lv_lucioUnit, "LucioWeaponCasterTargetFinderDisabler") == true)) {
lv_hadDisabler = true;
mods/heromods/lucio.stormmod — base.stormdata/LibHLUC.galaxy:201
}
lv_targetPoint = EventUnitTargetPoint();
while (!((UnitOrder(lv_lucioUnit, 0) != OrderTargetingPoint(AbilityCommand("LucioAttack", 0), lv_targetPoint)))) {
Wait(0.125, c_timeGame);
mods/heromods/medivh.stormmod — base.stormdata/LibHMDV.galaxy:608
UnitCreateEffectUnit(lv_medivh, "MedivhPortalCooldown", lv_medivh);
UnitBehaviorAdd(lv_medivh, "MedivhPortalPortalMasteryCastStun", lv_medivh, 1);
libNtve_gf_MakeUnitFacePoint(lv_medivh, EventUnitTargetPoint(), 0.0625);
if ((UnitOrderCount(lv_medivh) <= 1)) {
UnitIssueOrder(lv_medivh, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
mods/heromods/tracer.stormmod — base.stormdata/LibTrac.galaxy:547
}
libNtve_gf_MakeUnitFacePoint(EventUnit(), EventUnitTargetPoint(), 0.125);
return true;
}
mods/heromods/tracer.stormmod — base.stormdata/LibTrac.galaxy:738
}
else {
if ((EventUnitTargetPoint() != null) && (DistanceBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(lv_tracerUnit)) > 0.0)) {
if ((UnitHasBehavior2(lv_tracerUnit, "TracerHeroWeaponCasterTargetFinderDisabler") == true)) {
lv_hadDisabler = true;
mods/heromods/tracer.stormmod — base.stormdata/LibTrac.galaxy:738
}
else {
if ((EventUnitTargetPoint() != null) && (DistanceBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(lv_tracerUnit)) > 0.0)) {
if ((UnitHasBehavior2(lv_tracerUnit, "TracerHeroWeaponCasterTargetFinderDisabler") == true)) {
lv_hadDisabler = true;
mods/heromods/tracer.stormmod — base.stormdata/LibTrac.galaxy:754
}
lv_targetPoint = EventUnitTargetPoint();
while (!((UnitOrder(lv_tracerUnit, 0) != OrderTargetingPoint(AbilityCommand("TracerAttack", 0), lv_targetPoint)))) {
Wait(0.125, c_timeGame);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:4702
// Variable Initialization
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:4703
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:5062
}
if ((RegionContainsPoint(RegionFromId(37), EventUnitTargetPoint()) == true) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionFromId(37), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) - UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 3.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)) <= 4)) {
TriggerEnable(TriggerGetCurrent(), false);
gv_pulseGrenadesTaught = true;
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:5062
}
if ((RegionContainsPoint(RegionFromId(37), EventUnitTargetPoint()) == true) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionFromId(37), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) - UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 3.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)) <= 4)) {
TriggerEnable(TriggerGetCurrent(), false);
gv_pulseGrenadesTaught = true;
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:5068
TextTagDestroy(gv_pulseGrenadeTextTag);
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("NovaGadgetPulseGrenades", 0), false);
if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 3.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 8)) {
TriggerExecute(gt_ResearchBayClearQ, true, false);
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4070
UnitGroupAdd(gv_activeNukers, EventUnit());
if ((libLotv_gf_DifficultyValueInt2(1, 1, 0, 0) == 1)) {
UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/59CCE34C"), null, EventUnitTargetPoint());
if ((libHots_gf_PingStoredForUnit(EventUnit(), 1) == c_invalidPingId)) {
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER_01_USER), "PingNuke", EventUnitTargetPoint(), Color(100.00, 100.00, 100.00), 0.0, 270.0);
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4072
UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/59CCE34C"), null, EventUnitTargetPoint());
if ((libHots_gf_PingStoredForUnit(EventUnit(), 1) == c_invalidPingId)) {
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER_01_USER), "PingNuke", EventUnitTargetPoint(), Color(100.00, 100.00, 100.00), 0.0, 270.0);
PingSetScale(PingLastCreated(), 0.66);
libHots_gf_StorePingForUnit(EventUnit(), 1, PingLastCreated());
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2map — MapScript.galaxy:5062
}
if ((RegionContainsPoint(RegionFromId(37), EventUnitTargetPoint()) == true) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionFromId(37), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) - UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 3.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)) <= 4)) {
TriggerEnable(TriggerGetCurrent(), false);
gv_pulseGrenadesTaught = true;
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2map — MapScript.galaxy:5062
}
if ((RegionContainsPoint(RegionFromId(37), EventUnitTargetPoint()) == true) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionFromId(37), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) - UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 3.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)) <= 4)) {
TriggerEnable(TriggerGetCurrent(), false);
gv_pulseGrenadesTaught = true;
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2map — MapScript.galaxy:5068
TextTagDestroy(gv_pulseGrenadeTextTag);
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("NovaGadgetPulseGrenades", 0), false);
if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 3.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 8)) {
TriggerExecute(gt_ResearchBayClearQ, true, false);
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:4070
UnitGroupAdd(gv_activeNukers, EventUnit());
if ((libLotv_gf_DifficultyValueInt2(1, 1, 0, 0) == 1)) {
UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/59CCE34C"), null, EventUnitTargetPoint());
if ((libHots_gf_PingStoredForUnit(EventUnit(), 1) == c_invalidPingId)) {
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER_01_USER), "PingNuke", EventUnitTargetPoint(), Color(100.00, 100.00, 100.00), 0.0, 270.0);
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:4072
UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/59CCE34C"), null, EventUnitTargetPoint());
if ((libHots_gf_PingStoredForUnit(EventUnit(), 1) == c_invalidPingId)) {
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER_01_USER), "PingNuke", EventUnitTargetPoint(), Color(100.00, 100.00, 100.00), 0.0, 270.0);
PingSetScale(PingLastCreated(), 0.66);
libHots_gf_StorePingForUnit(EventUnit(), 1, PingLastCreated());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:5227
// Variable Initialization
lv_casterPoint = UnitGetPosition(EventUnit());
lv_targetPoint = EventUnitTargetPoint();
// Implementation
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:20959
// Variable Initialization
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:20960
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
lv_player = UnitGetOwner(EventUnit());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:21199
// Variable Initialization
lv_casterPoint = UnitGetPosition(EventUnit());
lv_targetPoint = EventUnitTargetPoint();
lv_player = UnitGetOwner(EventUnit());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:23322
// Variable Initialization
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:23323
lv_k = UnitGetPosition(EventUnit());
lv_t = EventUnitTargetPoint();
lv_facing = AngleBetweenPoints(UnitGetPosition(EventUnit()), EventUnitTargetPoint());
lv_distance = 8.0;
lv_player = UnitGetOwner(EventUnit());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:27429
// Variable Initialization
lv_casterPoint = UnitGetPosition(EventUnit());
lv_targetPoint = EventUnitTargetPoint();
lv_player = UnitGetOwner(EventUnit());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:30262
}
libCOMI_gv_cM_HeroReviveTargetLocation[EventPlayer()] = EventUnitTargetPoint();
libNtve_gf_PlayerRemoveCooldown(EventPlayer(), libCOOC_gf_CC_CommanderHeroReviveLink(libCOOC_gf_ActiveCommanderForPlayer(EventPlayer())));
TriggerEnable(libCOMI_gt_CM_NovaRespawnBuyBackCostAdjustment, false);