# Send Stat Event
Grammar — Send Stat Event statEvent|Stat Event.
Flags —Native
|Action
Blizzard only. Sends the Stat Event to Battle.net. The Stat Event is destroyed.
# Arguments
int
<preset::StatEvent> — Stat Event
Returns — void
native void StatEventSend(int statEvent);
# Related
Category: Stats
- Create Stat Event —
int
<preset::StatEvent> — StatEventCreate - Add String Data to Stat Event —
void
— StatEventAddDataString - Add Integer Data to Stat Event —
void
— StatEventAddDataInt - Add Real Data to Stat Event —
void
— StatEventAddDataFixed - Send Stat Event —
void
— StatEventSend - Last Created Stat Event —
int
<preset::StatEvent> — StatEventLastCreated - Stat Event — preset —
int
# Examples
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:8110
// Implementation
TriggerDebugOutput(13, StringToText(""), false);
StatEventSend(lp_statEvent);
if ((lp_statEvent == libVoiC_gv_pC_StatEventLastCampaign)) {
libVoiC_gv_pC_StatEventLastCampaign = -1;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:1729
StatEventCreate("Tutorial01_Start");
StatEventSend(StatEventLastCreated());
TriggerQueueEnter();
TriggerExecute(gt_IntroSetup, true, true);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:1872
gv_cinematicCompleted = true;
StatEventCreate("Tutorial01_IntroCinematicCompleted");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:2378
Wait(0.5, c_timeGame);
StatEventCreate("Tutorial01_GatesOpened");
StatEventSend(StatEventLastCreated());
libStEx_gf_DisplayHintMessage(StringExternal("Param/Value/CDD0665D"), true, 2.0);
TriggerExecute(gt_PauseMercTimers, true, false);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:2580
gv_goToLanePing = c_invalidPingId;
StatEventCreate("Tutorial01_FrontLineDone");
StatEventSend(StatEventLastCreated());
Wait(6.0, c_timeReal);
return true;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:2807
gv_cinematicCompleted = true;
StatEventCreate("Tutorial01_ExperienceCinematicCompleted");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:3507
gv_goToWatchtowerPing = c_invalidPingId;
StatEventCreate("Tutorial01_WatchTowerDone");
StatEventSend(StatEventLastCreated());
Wait(6.0, c_timeReal);
return true;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:4038
SoundPlayForPlayer(SoundLink("UI_ObjectiveComplete", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
StatEventCreate("Tutorial01_MercCampDone");
StatEventSend(StatEventLastCreated());
Wait(6.0, c_timeReal);
return true;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:4414
gv_corePing = c_invalidPingId;
StatEventCreate("Tutorial01_Victory");
StatEventSend(StatEventLastCreated());
TriggerEnable(gt_PlayerExitEarly, false);
Wait(6.0, c_timeReal);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:4437
TriggerEnable(TriggerGetCurrent(), false);
StatEventCreate("Tutorial01_ExitEarly");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:300
TriggerExecute(gt_InitEventPlayerGroups, true, false);
StatEventCreate("Tutorial02_Start");
StatEventSend(StatEventLastCreated());
Wait(1.0, c_timeGame);
libGame_gv_heroSpawnReady = true;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:1194
AchievementAward(1, "TutorialLootChest");
StatEventCreate("Tutorial02_Victory");
StatEventSend(StatEventLastCreated());
TriggerEnable(gt_PlayerExitEarly, false);
return true;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:1217
TriggerEnable(TriggerGetCurrent(), false);
StatEventCreate("Tutorial02_ExitEarly");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:1239
TriggerEnable(TriggerGetCurrent(), false);
StatEventCreate("Tutorial02_GatesOpened");
StatEventSend(StatEventLastCreated());
TriggerExecute(gt_MakeEnemyInnerTownsTakeMinimalDamage, true, false);
libAIAI_gf_HeroAIEnableAIForPlayer(gv_pLAYER_02_HEALERTANK);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:1642
gv_cinematicCompleted = true;
StatEventCreate("Tutorial02_TributeCinematicCompleted");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:2265
if (autoF61EC164_val == 1) {
StatEventCreate("Tutorial02_FirstTributeCaptured");
StatEventSend(StatEventLastCreated());
}
else if (autoF61EC164_val == 2) {
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:2269
else if (autoF61EC164_val == 2) {
StatEventCreate("Tutorial02_SecondTributeCaptured");
StatEventSend(StatEventLastCreated());
}
else if (autoF61EC164_val == 3) {
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:2273
else if (autoF61EC164_val == 3) {
StatEventCreate("Tutorial02_ThirdTributeCaptured");
StatEventSend(StatEventLastCreated());
}
else {
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2785
}
StatEventAddDataInt(StatEventLastCreated(), "Attempts", gv__1A_PlayTimes);
StatEventSend(StatEventLastCreated());
StatEventCreate("Challenge 2");
StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla Mosh Pit");
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2802
}
StatEventAddDataInt(StatEventLastCreated(), "Attempts", gv__1C_PlayTimes);
StatEventSend(StatEventLastCreated());
StatEventCreate("Challenge 3");
StatEventAddDataString(StatEventLastCreated(), "Challenge", "Zeratul Roaming");
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2819
}
StatEventAddDataInt(StatEventLastCreated(), "Attempts", gv__1E_PlayTimes);
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:1729
StatEventCreate("Tutorial01_Start");
StatEventSend(StatEventLastCreated());
TriggerQueueEnter();
TriggerExecute(gt_IntroSetup, true, true);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:1872
gv_cinematicCompleted = true;
StatEventCreate("Tutorial01_IntroCinematicCompleted");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:2378
Wait(0.5, c_timeGame);
StatEventCreate("Tutorial01_GatesOpened");
StatEventSend(StatEventLastCreated());
libStEx_gf_DisplayHintMessage(StringExternal("Param/Value/CDD0665D"), true, 2.0);
TriggerExecute(gt_PauseMercTimers, true, false);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:2580
gv_goToLanePing = c_invalidPingId;
StatEventCreate("Tutorial01_FrontLineDone");
StatEventSend(StatEventLastCreated());
Wait(6.0, c_timeReal);
return true;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:2807
gv_cinematicCompleted = true;
StatEventCreate("Tutorial01_ExperienceCinematicCompleted");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:3507
gv_goToWatchtowerPing = c_invalidPingId;
StatEventCreate("Tutorial01_WatchTowerDone");
StatEventSend(StatEventLastCreated());
Wait(6.0, c_timeReal);
return true;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:4038
SoundPlayForPlayer(SoundLink("UI_ObjectiveComplete", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
StatEventCreate("Tutorial01_MercCampDone");
StatEventSend(StatEventLastCreated());
Wait(6.0, c_timeReal);
return true;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:4414
gv_corePing = c_invalidPingId;
StatEventCreate("Tutorial01_Victory");
StatEventSend(StatEventLastCreated());
TriggerEnable(gt_PlayerExitEarly, false);
Wait(6.0, c_timeReal);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:4437
TriggerEnable(TriggerGetCurrent(), false);
StatEventCreate("Tutorial01_ExitEarly");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:300
TriggerExecute(gt_InitEventPlayerGroups, true, false);
StatEventCreate("Tutorial02_Start");
StatEventSend(StatEventLastCreated());
Wait(1.0, c_timeGame);
libGame_gv_heroSpawnReady = true;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:1194
AchievementAward(1, "TutorialLootChest");
StatEventCreate("Tutorial02_Victory");
StatEventSend(StatEventLastCreated());
TriggerEnable(gt_PlayerExitEarly, false);
return true;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:1217
TriggerEnable(TriggerGetCurrent(), false);
StatEventCreate("Tutorial02_ExitEarly");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:1239
TriggerEnable(TriggerGetCurrent(), false);
StatEventCreate("Tutorial02_GatesOpened");
StatEventSend(StatEventLastCreated());
TriggerExecute(gt_MakeEnemyInnerTownsTakeMinimalDamage, true, false);
libAIAI_gf_HeroAIEnableAIForPlayer(gv_pLAYER_02_HEALERTANK);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:1642
gv_cinematicCompleted = true;
StatEventCreate("Tutorial02_TributeCinematicCompleted");
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:2265
if (autoF61EC164_val == 1) {
StatEventCreate("Tutorial02_FirstTributeCaptured");
StatEventSend(StatEventLastCreated());
}
else if (autoF61EC164_val == 2) {
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:2269
else if (autoF61EC164_val == 2) {
StatEventCreate("Tutorial02_SecondTributeCaptured");
StatEventSend(StatEventLastCreated());
}
else if (autoF61EC164_val == 3) {
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:2273
else if (autoF61EC164_val == 3) {
StatEventCreate("Tutorial02_ThirdTributeCaptured");
StatEventSend(StatEventLastCreated());
}
else {
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:2785
}
StatEventAddDataInt(StatEventLastCreated(), "Attempts", gv__1A_PlayTimes);
StatEventSend(StatEventLastCreated());
StatEventCreate("Challenge 2");
StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla Mosh Pit");
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:2802
}
StatEventAddDataInt(StatEventLastCreated(), "Attempts", gv__1C_PlayTimes);
StatEventSend(StatEventLastCreated());
StatEventCreate("Challenge 3");
StatEventAddDataString(StatEventLastCreated(), "Challenge", "Zeratul Roaming");
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:2819
}
StatEventAddDataInt(StatEventLastCreated(), "Attempts", gv__1E_PlayTimes);
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroesbrawlmods/arenamodemods/templearena.stormmod — base.stormdata/LibAMCT.galaxy:245
libAMCT_gv_aRMSkyTemple[lp_templeIndex].lv_blessed = true;
StatEventCreate("SkyTempleActivated");
StatEventSend(StatEventLastCreated());
AddUnitOfInterest(libAMCT_gv_aRMSkyTemple[lp_templeIndex].lv_beacon, libAMCT_gv_aRMSkyTempleCaptureRadius_C, 0.0, "TempleBeacon", libNtve_ge_GoalTeam_Both, 0);
libCore_gf_CreateMinimapPingStorm(PlayerGroupAll(), "StormArenaAlert", libAMCT_gf_ARMSkyTempleLocation(lp_templeIndex), Color(100.00, 100.00, 0.00), 6.0);
mods/heroesbrawlmods/arenamodemods/templearena.stormmod — base.stormdata/LibAMCT.galaxy:1991
StatEventCreate("SkyTempleCaptured");
StatEventAddDataInt(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(UnitGetOwner(libAMCT_gv_aRMSkyTemple[lv_itTempleIndex].lv_temple)));
StatEventSend(StatEventLastCreated());
if ((libAMCT_gv_aRMSkyTemple[lv_itTempleIndex].lv_blessed == true)) {
libAMCT_gf_ARMSkyTempleUpdateTempleMinimapIcon(lv_itTempleIndex, libAMCT_ge_ARMSkyTempleMinimapIconState_Enable);
mods/heroesbrawlmods/arenamodemods/templearena.stormmod — base.stormdata/LibAMCT.galaxy:2040
StatEventAddDataInt(StatEventLastCreated(), "TempleID", lv_itTempleIndex);
StatEventAddDataInt(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(UnitGetOwner(libAMCT_gv_aRMSkyTemple[lv_itTempleIndex].lv_temple)));
StatEventSend(StatEventLastCreated());
break;
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10650
}
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
StatEventSend(StatEventLastCreated());
libNtve_gf_SetUpgradeLevelForPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "DisplayLockedMapMechanicAbility", 1);
return true;
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:12528
StatEventAddDataInt(StatEventLastCreated(), "Archangel Killed", libPEB1_gv_archangelsKilled);
}
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:9751
}
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
StatEventSend(StatEventLastCreated());
libNtve_gf_SetUpgradeLevelForPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "DisplayLockedMapMechanicAbility", 1);
return true;
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:11658
}
}
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:318
StatEventCreate("Pickup Spawned");
StatEventAddDataString(StatEventLastCreated(), "Pickup Type", (UnitGetType(UnitLastCreated())));
StatEventSend(StatEventLastCreated());
}
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:575
StatEventCreate("Pickup Spawned");
StatEventAddDataString(StatEventLastCreated(), "Pickup Type", (UnitGetType(UnitLastCreated())));
StatEventSend(StatEventLastCreated());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:6161
// Deprecated
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:10483
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_player);
StatEventAddDataInt(StatEventLastCreated(), "Level", lv_level);
StatEventSend(StatEventLastCreated());
libGame_gf_SendEventHeroLevelUp(lv_player, lv_level);
if ((libGame_gv_players[lv_player].lv_suppressLevelUpFXAndTeamXPTracking == false) && (libGame_gv_players[lv_player].lv_suppressLevelUpFXAndSounds == false) && (UnitLevel(lp_hero) > 1)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:10627
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lp_player);
StatEventAddDataString(StatEventLastCreated(), "Hero", (libGame_gv_players[lp_heroIndex].lv_heroData.lv_unitType));
StatEventSend(StatEventLastCreated());
ActorScopeSend(ActorScopeFromUnit(libGame_gv_players[lp_player].lv_heroUnit), "StatusIncrement PreventDestroyOnDeath");
if ((libGame_gv_heroDeath_RespawnMounted == true) && (libGame_gv_players[lp_player].lv_disableMount == false)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:11823
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lp_player);
StatEventAddDataString(StatEventLastCreated(), "PurchaseName", (libGame_gv_talents_TalentChoices[lp_player][lp_tierIndex].lv_talentData[lp_buttonIndex].lv_talentCatalogLink));
StatEventSend(StatEventLastCreated());
PlayerAddTalent(lp_player, libGame_gv_talents_TalentChoices[lp_player][lp_tierIndex].lv_talentData[lp_buttonIndex].lv_talentCatalogLink);
TalentTreeSetSelectedHeroTalent(lp_player, lp_tierIndex, lp_buttonIndex);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:16020
AINotifyGameStarted();
StatEventCreate("GatesOpen");
StatEventSend(StatEventLastCreated());
TimerStart(libGame_gv_gameTimer, c_timerDurationInfinite, false, c_timeGame);
if ((TimerGetElapsed(libGame_gv_matchGameplayTimer) > 0.0)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:16674
StatEventAddDataInt(StatEventLastCreated(), "KillingPlayer", 0);
}
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18029
StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(lv_point));
StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(lv_point));
StatEventSend(lv_stat);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18182
StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(UnitGetPosition(lv_heroUnit)));
StatEventAddDataInt(lv_stat, "IsWheel", (lv_castByWheel));
StatEventSend(lv_stat);
if ((lv_castByWheel == true)) {
TelemetryEventSend(c_telemetryItemUsed, "VoiceLine", (lv_voiceLine), "Wheel");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18258
StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(UnitGetPosition(lv_heroUnit)));
StatEventAddDataInt(lv_stat, "IsWheel", (lv_castByWheel));
StatEventSend(lv_stat);
if ((lv_castByWheel == true)) {
TelemetryEventSend(c_telemetryItemUsed, "Spray", (lv_spray), "Wheel");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18972
}
StatEventSend(StatEventLastCreated());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1743
}
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
auto65C1FEA2_g = UnitGroupSearch(null, lp_owner, libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampCaptainSpawnPoint, lv_captureRadiusScoreCredit, libCore_gv_filtersHeroicAllyorPlayerandnotHallucinationorBenign, 0);
auto65C1FEA2_u = UnitGroupCount(auto65C1FEA2_g, c_unitCountAll);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3130
StatEventAddDataInt(StatEventLastCreated(), "OpponentScore", libMapM_gv_mMRavenTeamStats[lv_cursedTeam].lv_triburteCollected);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libMapM_gf_PreCurseSiegeDamageCache(lv_enemyTeamWinningTeam);
libMapM_gv_mMRavenTeamStats[libGame_gf_TeamNumberOfPlayer(lp_cursedPlayerID)].lv_cursed = true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:6476
StatEventAddDataInt(StatEventLastCreated(), "Event", libMapM_gv_mMRavenTributesCollected);
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", lv_collectedTeam);
StatEventSend(StatEventLastCreated());
if ((lv_collectedTeam == 1)) {
lv_regenGlobeOwner = libCore_gv_cOMPUTER_TeamOrder;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7499
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(libMapM_gv_mMGardensDragonPlayer));
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
AddUnitOfInterest(libMapM_gv_mMGardensDragonUnit, 0.0, 0.0, "KillDragonKnight", libAIAI_gf_ConvertIntegertoGoalTeam(libGame_gf_EnemyTeam(lv_dragonPilotTeam)), 0);
RemoveUnitOfInterest(libMapM_gv_mMGardensDragonDragonTowers[1].lv_shrineUnit, "DefendDragonShrine", libNtve_ge_GoalTeam_Both);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:578
StatEventAddDataFixed(StatEventLastCreated(), "HeroXP", libGame_gv_players[lv_player].lv_xPRecievedFromHeroes);
StatEventAddDataFixed(StatEventLastCreated(), "TrickleXP", libGame_gv_players[lv_player].lv_xPRecievedFromTrickle);
StatEventSend(StatEventLastCreated());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:628
StatEventAddDataFixed(StatEventLastCreated(), "MapSizeX", PointGetX(RegionGetBoundsMax(RegionEntireMap())));
StatEventAddDataFixed(StatEventLastCreated(), "MapSizeY", PointGetY(RegionGetBoundsMax(RegionEntireMap())));
StatEventSend(StatEventLastCreated());
lv_i = 1;
for ( ; ( (autoBAAD8CF8_ai >= 0 && lv_i <= autoBAAD8CF8_ae) || (autoBAAD8CF8_ai < 0 && lv_i >= autoBAAD8CF8_ae) ) ; lv_i += autoBAAD8CF8_ai ) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:655
}
StatEventSend(StatEventLastCreated());
}
autoB5E0751A_ae = libGame_gv_townTownCount;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:670
StatEventAddDataFixed(StatEventLastCreated(), "PositionX", PointGetX(libGame_gv_townTownData[lv_i].lv_structureSpawnPoints[lv_k]));
StatEventAddDataFixed(StatEventLastCreated(), "PositionY", PointGetY(libGame_gv_townTownData[lv_i].lv_structureSpawnPoints[lv_k]));
StatEventSend(StatEventLastCreated());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:682
StatEventAddDataFixed(StatEventLastCreated(), "PositionX", PointGetX(libMapM_gv_jungleCreepCamps[lv_i].lv_mapDataCampCaptainSpawnPoint));
StatEventAddDataFixed(StatEventLastCreated(), "PositionY", PointGetY(libMapM_gv_jungleCreepCamps[lv_i].lv_mapDataCampCaptainSpawnPoint));
StatEventSend(StatEventLastCreated());
}
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:716
StatEventAddDataFixed(StatEventLastCreated(), "HeroXP", libGame_gv_players[lv_player].lv_xPRecievedFromHeroes);
StatEventAddDataFixed(StatEventLastCreated(), "TrickleXP", libGame_gv_players[lv_player].lv_xPRecievedFromTrickle);
StatEventSend(StatEventLastCreated());
StatEventCreate("EndOfGameTimeSpentDead");
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_player);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:720
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_player);
StatEventAddDataFixed(StatEventLastCreated(), "Time", libGame_gv_players[lv_player].lv_timeSpentDead);
StatEventSend(StatEventLastCreated());
if ((PlayerHasTalent(lv_player, "GenericTalentRegenerationMaster") == true)) {
StatEventCreate("EndOfGameRegenMasterStacks");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:726
StatEventAddDataString(StatEventLastCreated(), "Hero", (UnitGetType(libGame_gv_players[lv_player].lv_heroUnit)));
StatEventAddDataInt(StatEventLastCreated(), "Stack Count", UnitBehaviorCount(libGame_gv_players[lv_player].lv_heroUnit, "RegenerationMaster"));
StatEventSend(StatEventLastCreated());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:734
StatEventAddDataString(StatEventLastCreated(), "Hero", (UnitGetType(libGame_gv_players[lv_player].lv_heroUnit)));
StatEventAddDataInt(StatEventLastCreated(), "Stack Count", FixedToInt(UnitGetTokenCount(libGame_gv_players[lv_player].lv_heroUnit, CatalogFieldValueGet(c_gameCatalogBehavior, "TalentSeasonedMarksmanTokenCounter", "TokenId", c_playerAny))));
StatEventSend(StatEventLastCreated());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:757
}
}
StatEventSend(StatEventLastCreated());
}
libSprt_gf_DataMiningTurnDataMiningTriggersOnOff(false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11607
StatEventAddDataInt(StatEventLastCreated(), "Voter", EventPlayer());
StatEventAddDataInt(StatEventLastCreated(), "UpVotesReceived", libUIUI_gv_uIMVPSecondaryPanels[lv_idButtonUsed].lv_voteCount);
StatEventSend(StatEventLastCreated());
return true;
}
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:214
StatEventCreate("Boss Duel Started");
StatEventAddDataInt(StatEventLastCreated(), "Boss Duel Number", libMLBD_gv_mMBOETimes);
StatEventSend(StatEventLastCreated());
libMLBD_gv_mMBOEEventStage = libMLBD_ge_MMBOEEventStage_Warning;
libMLBD_gf_MMBOETransmissionDuelWarningQ();
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:594
StatEventAddDataInt(StatEventLastCreated(), "Immortal Fight Duration", libMLBD_gv_mMBOEEventDurationTimer);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libMLBD_gf_MMBOEAwardBossXP(libMLBD_gv_mMBOEBosses[lv_losingTeam], libMLBD_gv_mMBOEXPValue);
lv_bossDuelLoserXPBalance = (libMLBD_gv_mMBOEXPValue * (lv_hPPercent / 100.0));
mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmod — base.stormdata/LibBBAY.galaxy:209
StatEventAddDataInt(StatEventLastCreated(), "OpponentScore", libBBAY_gv_mMBBCannonballsBallsSubmitted[libGame_gf_EnemyTeam(lv_shipTeam)]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libBBAY_gv_mMBBCannonballsTransmissionFiringIndex = 0;
libBBAY_gv_mMBBCannonballsTransmissionFiringRandomness = RandomInt(4, 9);
mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmod — base.stormdata/LibSCHO.galaxy:532
StatEventAddDataFixed(StatEventLastCreated(), "TeamChaosProgress", libSCHO_gv_mMHO_TeamProgress[libGame_gv_teamChaosIndex_C]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libSCHO_gf_MMHOEventWarningAnnouncement();
libSond_gf_SoundtrackApplyNewDefaultSoundtrackForPlayerGroup("MX_BraxisHoldout_ZergReleased", libCore_gv_allHeroPlayersPlusObserver);
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:795
StatEventAddDataFixed(StatEventLastCreated(), "SkullCount", libMHtM_gv_mMUnderworldSkullCollected[lp_team]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
Wait(1.0, c_timeGame);
if ((lv_effect != null)) {
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1500
StatEventAddDataInt(StatEventLastCreated(), "Losing Score", libMSHE_gv_mMISKillCount[libGame_gf_EnemyTeam(lv_winningTeam)]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libMSHE_gv_mMISKillCount[libGame_gv_teamOrderIndex_C] = 0;
libMSHE_gv_mMISKillCount[libGame_gv_teamChaosIndex_C] = 0;
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1842
StatEventAddDataFixed(StatEventLastCreated(), "Hero Damage Done", libMSHE_gv_punisherHeroDamage);
StatEventAddDataInt(StatEventLastCreated(), "Duration", libMSHE_gv_punisherDuration);
StatEventSend(StatEventLastCreated());
libMSHE_gv_punisherSiegeDamage = 0.0;
libMSHE_gv_punisherHeroDamage = 0.0;
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:572
StatEventAddDataInt(StatEventLastCreated(), "TempleID", lp_templeIndex);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libCore_gf_CreateMinimapPingStorm(PlayerGroupAll(), "StormAlert", libMLCP_gf_MMSkyTempleLocation(lp_templeIndex), Color(100.00, 100.00, 0.00), 6.0);
SoundPlayAtPointForPlayer(SoundLink("UI_Game_Ping_LuxoriaTemple_Ready", -1), c_maxPlayers, PlayerGroupAll(), libMLCP_gf_MMSkyTempleLocation(lp_templeIndex), 0.0, 100.0, 0.0);
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:2817
StatEventAddDataInt(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(UnitGetOwner(libMLCP_gv_mMSkyTemples[lv_itTempleIndex].lv_temple)));
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
if ((libMLCP_gv_mMSkyTemples[lv_itTempleIndex].lv_blessed == true)) {
if ((UnitGetOwner(libMLCP_gv_mMSkyTemples[lv_itTempleIndex].lv_temple) == libCore_gv_cOMPUTER_Neutral)) {
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:3020
StatEventAddDataFixed(StatEventLastCreated(), "SkyTempleShotsDamage", EventUnitDamageAmount());
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
break;
}
mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod — base.stormdata/LibMSOC.galaxy:2028
StatEventAddDataInt(StatEventLastCreated(), "OpponentScore", libMSOC_gv_mMTombSpiderQueenSoulsTotal[lv_channelingTeamEnemy]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libMSOC_gv_mMTombSpiderQueenSoulsTotal[lv_channelingTeam] -= libMSOC_gv_mMTombSpiderQueenActivationAmountRequired[lv_channelingTeam];
libMSOC_gv_mMTombSpiderQueenActivationAmountRequired[lv_channelingTeam] += libMSOC_gv_mMTombSpiderQueenActivationAmountIncrement_C;
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:162
StatEventAddDataInt(StatEventLastCreated(), "Owning Team", libGame_gf_TeamNumberOfPlayer(lp_computerPlayer));
StatEventAddDataFixed(StatEventLastCreated(), "Start Time", TimerGetElapsed(libGame_gv_gameTimer));
StatEventSend(StatEventLastCreated());
TimerStart(libMTOD_gv_mMToDSixCapTimer, libMTOD_gv_mMToDSixCapDelay_C, false, c_timeGame);
libMTOD_gf_MMToDTransmissionBellSixTowersTaken();
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:180
StatEventAddDataInt(StatEventLastCreated(), "Owning Team", libGame_gf_TeamNumberOfPlayer(lp_computerPlayer));
StatEventAddDataFixed(StatEventLastCreated(), "End Time", TimerGetElapsed(libGame_gv_gameTimer));
StatEventSend(StatEventLastCreated());
SoundtrackStop(PlayerGroupAll(), c_soundtrackCategoryMusic, true);
libSond_gf_SoundtrackPlayMapSoundtrackAsDefaultSoundtrackForAllPlayers();
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:536
StatEventCreate("Town Captured");
StatEventAddDataInt(StatEventLastCreated(), "New Owner", lv_newOwningTeam);
StatEventSend(StatEventLastCreated());
lv_survivingBuildings = UnitGroup(null, lp_oldOwningTeam, libGame_gv_townTownData[lp_townNumber].lv_townRegion, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE2EC0DF5_g = lv_survivingBuildings;
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:2236
libMTOD_gf_MMToDAltarDamageDoneCache(lv_capturingPlayer, UnitGroupCount(libMTOD_gv_mMToDChaosBases, c_unitCountAlive));
}
StatEventSend(StatEventLastCreated());
auto50716AB6_val = lv_capturingTeam;
if (auto50716AB6_val == libGame_gv_teamOrderIndex_C) {
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:124
StatEventCreate("VolskayaCapturePointSpawned");
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
}
else {
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:374
StatEventAddDataFixed(StatEventLastCreated(), "LosingTeamProgress", libVLSK_gf_GetCapturePointVictoryProgressasInt(lp_capturePointIndex, libGame_gf_EnemyTeam(lp_victoryTeam)));
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
if ((libVLSK_gv_grantStandardCapturePointRewards == true)) {
libVLSK_gf_AwardGiantRobottoTeam(lp_victoryTeam, libVLSK_gv_capturePoints[lp_capturePointIndex].lv_robotSpawnPoint);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:379
StatEventAddDataInt(StatEventLastCreated(), "NukeSpawnedCount", 2);
}
StatEventSend(StatEventLastCreated());
}
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:668
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventAddDataInt(StatEventLastCreated(), "OwningTeam", lv_allyTeam);
StatEventSend(StatEventLastCreated());
}
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:1866
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventAddDataInt(StatEventLastCreated(), "OwningTeam", lv_team);
StatEventSend(StatEventLastCreated());
Wait(libMSC2_gv_mMSC2NukeArmingDuration_C, c_timeGame);
if ((UnitHasBehavior2(EventPlayerEffectUsedUnit(c_effectUnitCaster), "HasMapMechanicTargetAbility") == true)) {
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:2116
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventAddDataInt(StatEventLastCreated(), "OwningTeam", lv_allyTeam);
StatEventSend(StatEventLastCreated());
return true;
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:1586
StatEventCreate("ChoGall Cho Spawn Error");
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_playerID);
StatEventSend(StatEventLastCreated());
}
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:1710
StatEventCreate("ChoGall Gall Spawn Error");
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_gallPlayer);
StatEventSend(StatEventLastCreated());
if ((PlayerType(lv_gallPlayer) == c_playerTypeComputer)) {
libAIAI_gf_HeroAIEnableAIForPlayer(lv_gallPlayer);
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:1771
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_gallPlayer);
StatEventAddDataString(StatEventLastCreated(), "Hero", (libGame_gv_players[lv_gallIndex].lv_heroData.lv_unitType));
StatEventSend(StatEventLastCreated());
libGame_gv_players[lv_gallPlayer].lv_cameraPlayerUnitGroupToFocusOn = libGame_gv_players[lv_gallPlayer].lv_heroUnitGroup;
libGame_gf_CameraUpdateCameraForPlayer(lv_gallPlayer);
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:236
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lp_player);
StatEventAddDataString(StatEventLastCreated(), "Hero", (libGame_gv_players[lp_player].lv_heroData.lv_unitType));
StatEventSend(StatEventLastCreated());
ActorScopeSend(ActorScopeFromUnit(libGame_gv_players[lp_player].lv_heroUnit), "StatusIncrement PreventDestroyOnDeath");
libGame_gv_players[lp_player].lv_cameraPlayerUnitGroupToFocusOn = libNtve_gf_ConvertUnitToUnitGroup(lv_dVaMechUnit);