# Triggering Effect Point
Flags —
Native
|Function
# Arguments
int
<preset::EffectLocation> — Location
Returns — point
native point EventPlayerEffectUsedPoint(int inLocation);
# Supported triggers
- Effect Used — TriggerAddEventPlayerEffectUsed
# Related
Category: Environment / Effects
- Create Explosion At Point —
void
— libNtve_gf_CreateExplosionAtPoint - Create Effect At Point (From Player) —
void
— PlayerCreateEffectPoint - Create Effect On Unit (From Player) —
void
— PlayerCreateEffectUnit - Create Effect At Point (From Unit) —
void
— UnitCreateEffectPoint - Create Effect On Unit (From Unit) —
void
— UnitCreateEffectUnit - Damage Unit (From Unit) —
void
— UnitDamage - Player Can Create Effect At Point —
bool
— libNtve_gf_PlayerCanCreateEffectAtPoint - Player Can Create Effect On Unit —
bool
— libNtve_gf_PlayerCanCreateEffectOnUnit - Unit Can Create Effect At Point —
bool
— libNtve_gf_UnitCanCreateEffectAtPoint - Unit Can Create Effect On Unit —
bool
— libNtve_gf_UnitCanCreateEffectOnUnit - Destroy Effects —
void
— GameDestroyEffects - Effect Used —
void
— TriggerAddEventPlayerEffectUsed - Effect Used From Scope —
void
— TriggerAddEventPlayerEffectUsedFromScope - Triggering Effect Used —
string
<gamelink::Effect> — EventPlayerEffectUsed - Triggering Effect Point —
point
— EventPlayerEffectUsedPoint - Triggering Effect Unit —
unit
— EventPlayerEffectUsedUnit - Triggering Effect Item —
unit
— EventPlayerEffectUsedItem - Triggering Effect Impact Unit —
unit
— EventPlayerEffectUsedUnitImpact - Triggering Effect Launch Unit —
unit
— EventPlayerEffectUsedUnitLaunch - Triggering Effect Unit Owner —
int
— EventPlayerEffectUsedUnitOwner - Triggering Effect Unit Type —
string
<gamelink::Unit> — EventPlayerEffectUsedUnitType - Triggering Effect Item Type —
string
<gamelink::Unit> — EventPlayerEffectUsedItemType - Triggering Effect Amount (Integer) —
int
— EventPlayerEffectUsedAmountInt - Triggering Effect Amount (Real) —
fixed
— EventPlayerEffectUsedAmountFixed - Triggering Effect Source Behavior —
string
<gamelink::Behavior> — EventPlayerEffectUsedSourceBehavior - Triggering Effect Weapon —
string
<gamelink::Weapon> — EventPlayerEffectUsedWeapon - Triggering Effect Ability —
string
<gamelink::Abil> — EventPlayerEffectUsedAbil
# Examples
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:2253
}
lv_spawnPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
if ((DistanceBetweenPoints(PointFromId(78), lv_spawnPoint) < 1.0)) {
lv_indexHybrid = 1;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map — MapScript.galaxy:2253
}
lv_spawnPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
if ((DistanceBetweenPoints(PointFromId(78), lv_spawnPoint) < 1.0)) {
lv_indexHybrid = 1;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:3592
}
if (!((DistanceBetweenPoints(CameraGetTarget(gv_pLAYER_01_USER), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)) <= 13.0))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:7427
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_target = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_spawnCount = libLotv_gf_DifficultyValueInt2(4, 4, 6, 8);
auto6AE51B1D_ae = lv_spawnCount;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras01.sc2map — MapScript.galaxy:3592
}
if (!((DistanceBetweenPoints(CameraGetTarget(gv_pLAYER_01_USER), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)) <= 13.0))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2map — MapScript.galaxy:7427
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_target = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_spawnCount = libLotv_gf_DifficultyValueInt2(4, 4, 6, 8);
auto6AE51B1D_ae = lv_spawnCount;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4834
lv_cameraPosition[1] = (PointGetY(CameraGetTarget(1))-(Cos(CameraGetPitch(1))*CameraGetDistance(1)));
lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4835
lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_distance = SquareRoot((Pow((lv_cameraPosition[0]-lv_effectPosition[0]), 2.0) + Pow((lv_cameraPosition[1]-lv_effectPosition[1]), 2.0) + Pow((lv_cameraPosition[2]-lv_effectPosition[2]), 2.0)));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4836
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_distance = SquareRoot((Pow((lv_cameraPosition[0]-lv_effectPosition[0]), 2.0) + Pow((lv_cameraPosition[1]-lv_effectPosition[1]), 2.0) + Pow((lv_cameraPosition[2]-lv_effectPosition[2]), 2.0)));
CameraShakeStart(1, c_cameraPositionTarget, c_cameraDirectionZ, MaxF((1-(lv_distance/50)), 0.0), 2.5, 100.0, 0.1);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5133
lv_radiusMinimum = 2.0;
lv_radiusMaximum = 10.0;
lv_targetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
// Actions
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1810
}
lv_tAngle = AngleBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
libNtve_gf_CreateUnitsWithDefaultFacing(1, "BulletEnemySpine", c_unitCreateIgnorePlacement, lv_enemyPlayer, PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 0.2, lv_tAngle));
libNtve_gf_MakeUnitFacePoint(UnitLastCreated(), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle), 0.0);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4262
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterPoint), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget), "Light", "Shake", 0.1, 0.2, 0.3);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4291
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget), "Medium", "Shake", 0.1, 0.2, 0.3);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4320
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget), "Heavy", "Shake", 0.1, 0.2, 0.3);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4349
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "Medium", "Shake", 0.0, 0.125, 0.0625);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4378
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "Light", "Shake", 0.1, 0.2, 0.3);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4407
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "Medium", "Shake", 0.1, 0.2, 0.3);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4436
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "Heavy", "Shake", 0.1, 0.2, 0.3);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:5074
}
libNtve_gf_MakeUnitFacePoint(EventPlayerEffectUsedUnit(c_effectUnitCaster), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint), 0.0625);
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:6573
lv_anubarakRadius = CatalogFieldValueGetAsFixed(c_gameCatalogUnit, (UnitGetType(lv_unit)), "Radius", lv_player);
lv_abilityRange = CatalogFieldValueGetAsFixed(c_gameCatalogActor, "AnubarakBurrowChargeGuide", "Height", lv_player);
lv_playerTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_distanceFromAnubarakToTargetPoint = DistanceBetweenPoints(UnitGetPosition(lv_unit), lv_playerTargetPoint);
if ((lv_distanceFromAnubarakToTargetPoint > lv_abilityRange)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:6962
}
lv_newPoint = UnitTypePlacementFromPoint("AzmodanDemonicInvasionDemonGrunt", lv_player, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint), 10.0);
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitCaster), "AzmodanDemonicInvasionStaggerPersistent", lv_newPoint);
return true;
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:2063
lv_barbarianRadius = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, (UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster))), "Radius", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
lv_abilityRange = (StringToFixed(CatalogFieldValueGet(c_gameCatalogActor, "MercPunisherLanerLeapRangeSplat", "Scale", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) + lv_barbarianRadius);
lv_playerTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_distanceFromBarbarianToPlayerTargetPoint = DistanceBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), lv_playerTargetPoint);
if ((lv_distanceFromBarbarianToPlayerTargetPoint > lv_abilityRange)) {
mods/heroesmapmods/battlegroundmapmods/infernalshrinesdata.stormmod — base.stormdata/LibMSHD.galaxy:125
lv_barbarianRadius = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, (UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster))), "Radius", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
lv_abilityRange = (StringToFixed(CatalogFieldValueGet(c_gameCatalogActor, "MercPunisherLanerLeapRangeSplat", "Scale", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) + lv_barbarianRadius);
lv_playerTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_distanceFromBarbarianToPlayerTargetPoint = DistanceBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), lv_playerTargetPoint);
if ((lv_distanceFromBarbarianToPlayerTargetPoint > lv_abilityRange)) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:2258
else {
}
libGame_gf_DropLootBannerinSconce(UnitGroupUnit(UnitGroup("LootBannerSconce", c_playerAny, RegionCircle(EventPlayerEffectUsedPoint(c_effectLocationTargetUnit), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1), libGame_gv_players[lv_capturingPlayer].lv_lootContent.lv_loot_Banner.lv_bannerID, lv_capturingPlayer, true);
RemoveUnitOfInterest(lv_capturedAltar, "UseAltar", libNtve_ge_GoalTeam_Both);
libMTOD_gf_MMToDAltarFireCannons(lv_capturingTeam);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:1904
lv_team = libGame_gf_TeamNumberOfPlayer(lv_calldownPlayer);
lv_enemyTeam = libGame_gf_EnemyTeam(lv_team);
lv_target = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
libCore_gf_CreateMinimapPingStorm(GameAttributePlayersForTeam(lv_team), "NukeLaunchPing", lv_target, libCore_gv_cOLORAllyColor, 5.0);
if ((lv_team == libGame_gv_teamOrderIndex_C)) {
mods/heromods/alexstrasza.stormmod — base.stormdata/LibHALE.galaxy:252
// Variable Initialization
lv_castingPlayer = EventPlayer();
lv_targetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
// Actions
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:497
}
UISetTargetingOrder(PlayerGroupSingle(lv_player), null, OrderTargetingPoint(AbilityCommand("AnaEyeOfHorusAttack", 0), Point(PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)), PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)))), true);
return true;
}
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:497
}
UISetTargetingOrder(PlayerGroupSingle(lv_player), null, OrderTargetingPoint(AbilityCommand("AnaEyeOfHorusAttack", 0), Point(PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)), PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)))), true);
return true;
}
mods/heromods/deckard.stormmod — base.stormdata/LibHDEC.galaxy:79
}
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitSource), "DeckardAncientBlessingsAoESearch", EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
return true;
}
mods/heromods/genji.stormmod — base.stormdata/LibHGen.galaxy:614
lv_genjiPosition = UnitGetPosition(lv_genjiUnit);
lv_genjiPlayer = UnitGetOwner(lv_genjiUnit);
lv_initialTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_interpolationFraction = 1.0;
lv_interpolationPoint = lv_initialTargetPoint;
mods/heromods/junkrat.stormmod — base.stormdata/LibHJUN.galaxy:140
lv_positionOfJunkratUnit = UnitGetPosition(lv_junkratUnit);
lv_junkratPlayer = UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_targetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_distanceBetweenJunkratUnitAndTargetPoint = DistanceBetweenPoints(lv_positionOfJunkratUnit, lv_targetPoint);
mods/heromods/orphea.stormmod — base.stormdata/LibORPH.galaxy:74
}
lv_deathUnitPosition = EventPlayerEffectUsedPoint(c_effectLocationSourcePoint);
lv_launchPlayer = UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster));
if ((lv_launchPlayer <= libCore_gv_bALMaxPlayers) && (lv_launchPlayer > 0)) {
mods/heromods/stukov.stormmod — base.stormdata/LibHSTU.galaxy:213
}
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitTarget), "StukovMassiveShoveRevealPersistent", EventPlayerEffectUsedPoint(c_effectLocationTargetUnit));
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitTarget), "StukovMassiveShoveRevealPersistent", EventPlayerEffectUsedPoint(c_effectLocationCasterUnit));
return true;
mods/heromods/stukov.stormmod — base.stormdata/LibHSTU.galaxy:214
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitTarget), "StukovMassiveShoveRevealPersistent", EventPlayerEffectUsedPoint(c_effectLocationTargetUnit));
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitTarget), "StukovMassiveShoveRevealPersistent", EventPlayerEffectUsedPoint(c_effectLocationCasterUnit));
return true;
}
mods/heromods/thefirelords.stormmod — base.stormdata/LibHMaj.galaxy:585
// Variable Initialization
lv_castingUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_targetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_ragnarosPlayer = UnitGetOwner(lv_castingUnit);
lv_firstWaypoint_Order = 2;
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:2426
// Variable Initialization
lv_flashbangImpactPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_nearbyEnemies = UnitGroupEmpty();
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:4275
auto81643518_var = 1;
for ( ; auto81643518_var <= auto81643518_ae; auto81643518_var += 1 ) {
if ((gv_perfRevealRegions[auto81643518_var] != null) && (RegionContainsPoint(gv_perfRevealRegions[auto81643518_var], EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)) == true)) {
lv_perfRegionIndex = auto81643518_var;
break;
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:2559
// Variable Initialization
lv_flashbangImpactPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_nearbyEnemies = UnitGroupEmpty();
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4634
lv_cameraPosition[1] = (PointGetY(CameraGetTarget(1))-(Cos(CameraGetPitch(1))*CameraGetDistance(1)));
lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4635
lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_distance = SquareRoot((Pow((lv_cameraPosition[0]-lv_effectPosition[0]), 2.0) + Pow((lv_cameraPosition[1]-lv_effectPosition[1]), 2.0) + Pow((lv_cameraPosition[2]-lv_effectPosition[2]), 2.0)));
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4636
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_distance = SquareRoot((Pow((lv_cameraPosition[0]-lv_effectPosition[0]), 2.0) + Pow((lv_cameraPosition[1]-lv_effectPosition[1]), 2.0) + Pow((lv_cameraPosition[2]-lv_effectPosition[2]), 2.0)));
CameraShakeStart(1, c_cameraPositionTarget, c_cameraDirectionZ, MaxF((1-(lv_distance/50)), 0.0), 2.5, 100.0, 0.15);
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:2426
// Variable Initialization
lv_flashbangImpactPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_nearbyEnemies = UnitGroupEmpty();
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:4275
auto81643518_var = 1;
for ( ; auto81643518_var <= auto81643518_ae; auto81643518_var += 1 ) {
if ((gv_perfRevealRegions[auto81643518_var] != null) && (RegionContainsPoint(gv_perfRevealRegions[auto81643518_var], EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)) == true)) {
lv_perfRegionIndex = auto81643518_var;
break;
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:2559
// Variable Initialization
lv_flashbangImpactPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_nearbyEnemies = UnitGroupEmpty();
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:4634
lv_cameraPosition[1] = (PointGetY(CameraGetTarget(1))-(Cos(CameraGetPitch(1))*CameraGetDistance(1)));
lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:4635
lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_distance = SquareRoot((Pow((lv_cameraPosition[0]-lv_effectPosition[0]), 2.0) + Pow((lv_cameraPosition[1]-lv_effectPosition[1]), 2.0) + Pow((lv_cameraPosition[2]-lv_effectPosition[2]), 2.0)));
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:4636
lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_effectPosition[2] = WorldHeight(c_heightMapGround, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_distance = SquareRoot((Pow((lv_cameraPosition[0]-lv_effectPosition[0]), 2.0) + Pow((lv_cameraPosition[1]-lv_effectPosition[1]), 2.0) + Pow((lv_cameraPosition[2]-lv_effectPosition[2]), 2.0)));
CameraShakeStart(1, c_cameraPositionTarget, c_cameraDirectionZ, MaxF((1-(lv_distance/50)), 0.0), 2.5, 100.0, 0.15);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:14191
// Variable Initialization
lv_beacon = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_beaconPoint = EventPlayerEffectUsedPoint(c_effectLocationCasterUnit);
lv_hero = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_facing = UnitGetFacing(lv_beacon);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:16748
lv_targetLife = UnitGetPropertyFixed(lv_targetUnit, c_unitPropVitality, c_unitPropCurrent);
lv_dehakaPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_casterPoint = EventPlayerEffectUsedPoint(c_effectLocationCasterPoint);
lv_c = UserDataInstanceCount(libCOMI_gv_c_DehakaConsumeEffectUserType);
lv_effectFilter = UnitFilter(0, 0, 0, 0);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:16908
// Automatic Variable Declarations
// Variable Initialization
lv_point = EventPlayerEffectUsedPoint(c_effectLocationCasterUnit);
lv_amount = libCOMI_gv_c_DehakaConsumeEffectHeroicEssenceAmount;
lv_p = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:19602
lv_reaper = EventPlayerEffectUsedUnit(c_effectUnitSource);
lv_target = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_distance = DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_range = MinF(lv_distance, lv_maxRange);
lv_targetpoint = libNtve_gf_PointOffsetTowardsPoint(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), lv_range, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:19602
lv_reaper = EventPlayerEffectUsedUnit(c_effectUnitSource);
lv_target = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_distance = DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_range = MinF(lv_distance, lv_maxRange);
lv_targetpoint = libNtve_gf_PointOffsetTowardsPoint(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), lv_range, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:19604
lv_distance = DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_range = MinF(lv_distance, lv_maxRange);
lv_targetpoint = libNtve_gf_PointOffsetTowardsPoint(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), lv_range, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
// Conditions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:19604
lv_distance = DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
lv_range = MinF(lv_distance, lv_maxRange);
lv_targetpoint = libNtve_gf_PointOffsetTowardsPoint(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), lv_range, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
// Conditions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:20530
}
else {
UnitIssueOrder(lv_pickedUnit, OrderTargetingPoint(AbilityCommand("HHBomberPlatformAreaBombOrder", 0), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint)), c_orderQueueReplace);
}
if ((UnitAbilityChargeInfo(libCOMI_gv_cM_GlobalCasterUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerOrigin)], AbilityCommand("HHBomberPlatformAreaBombTopBarOrder", 0), c_unitAbilChargeCountLeft) > 0.0)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:20595
}
else {
lv_bomberTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
libNtve_gf_CreateActorAtPoint("HHBomberAreaBombWarning", lv_bomberTargetPoint);
lv_bomberTargetActor = libNtve_gf_ActorLastCreated();
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:21352
lv_a = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_b = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_facing = AngleBetweenPoints(lv_a, lv_b);
lv_d = DistanceBetweenPoints(lv_a, lv_b);
mods/warcoop/legends/gromhellscream.sc2mod — base.sc2data/LibLGrm.galaxy:109
// Variable Initialization
lv_grom = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_initialcasterpoint = EventPlayerEffectUsedPoint(c_effectLocationCasterPoint);
lv_initialtargetpoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_replacementeffect = "GromCoopRecklessChargeCP";
mods/warcoop/legends/gromhellscream.sc2mod — base.sc2data/LibLGrm.galaxy:110
lv_grom = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_initialcasterpoint = EventPlayerEffectUsedPoint(c_effectLocationCasterPoint);
lv_initialtargetpoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_replacementeffect = "GromCoopRecklessChargeCP";
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:3808
lv_lootlevelinstance = UserDataInstance(auto6E4006F1_userType, auto6E4006F1_i);
if ((lv_heroitemcategory == UserDataGetUserInstance("LootDropLevels", lv_lootlevelinstance, "HeroItemCategory", 1)) && (lv_triggeringeffect == UserDataGetGameLink("LootDropLevels", lv_lootlevelinstance, "LootEffect", 1))) {
UnitLootDropPoint(lv_legendplayer, EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), UserDataGetGameLink("LootDropLevels", lv_lootlevelinstance, "LootDrop", 1), lv_legendplayer);
autoD6406425_g = UnitLootLastCreatedGroup();
autoD6406425_u = UnitGroupCount(autoD6406425_g, c_unitCountAll);
mods/warcoop/warmeleeai.sc2mod — base.sc2data/LibW3AI.galaxy:282
lv_p = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_c = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_po = EventPlayerEffectUsedPoint(c_effectLocationCasterUnit);
lv_ug = UnitGroupEmpty();