# Add Real Data to Stat Event
Grammar — Add key = value to Stat Event statEvent|Stat Event.
Flags —Native
|Action
Blizzard only. Adds the Key-Value pair to the Stat Event.
# Arguments
int
<preset::StatEvent> — Stat Eventstring
— Keyfixed
— Value
Returns — void
native void StatEventAddDataFixed(
int statEvent,
string key,
fixed value,
);
# 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:8103
TextExpressionSetToken("Param/Expression/lib_VoiC_AD1ED9A3", "B", FixedToText(lp_value, c_fixedPrecisionAny));
TriggerDebugOutput(13, TextExpressionAssemble("Param/Expression/lib_VoiC_AD1ED9A3"), false);
StatEventAddDataFixed(lp_event, lp_key, lp_value);
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:12521
StatEventAddDataString(StatEventLastCreated(), "Map Complete", "True");
StatEventAddDataInt(StatEventLastCreated(), "Victory Time", libPEB1_gv_victoryTime);
StatEventAddDataFixed(StatEventLastCreated(), "Base Integrity", libPEB1_gv_baseHealthPercent);
}
else {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:16656
StatEventCreate("PlayerDeath");
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_deadPlayer);
StatEventAddDataFixed(StatEventLastCreated(), "PositionX", PointGetX(UnitGetPosition(lv_deadHero)));
StatEventAddDataFixed(StatEventLastCreated(), "PositionY", PointGetY(UnitGetPosition(lv_deadHero)));
if ((PlayerGroupCount(lv_killingGroup) > 0)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:16657
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_deadPlayer);
StatEventAddDataFixed(StatEventLastCreated(), "PositionX", PointGetX(UnitGetPosition(lv_deadHero)));
StatEventAddDataFixed(StatEventLastCreated(), "PositionY", PointGetY(UnitGetPosition(lv_deadHero)));
if ((PlayerGroupCount(lv_killingGroup) > 0)) {
autoC94524FE_g = lv_killingGroup;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18027
StatEventAddDataString(lv_stat, "WheelAction", lv_action);
StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
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:18028
StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
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:18179
StatEventAddDataString(lv_stat, "VoiceLineID", (lv_voiceLine));
StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(UnitGetPosition(lv_heroUnit)));
StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(UnitGetPosition(lv_heroUnit)));
StatEventAddDataInt(lv_stat, "IsWheel", (lv_castByWheel));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18180
StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(UnitGetPosition(lv_heroUnit)));
StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(UnitGetPosition(lv_heroUnit)));
StatEventAddDataInt(lv_stat, "IsWheel", (lv_castByWheel));
StatEventSend(lv_stat);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18255
StatEventAddDataString(lv_stat, "SprayID", (lv_spray));
StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(UnitGetPosition(lv_heroUnit)));
StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(UnitGetPosition(lv_heroUnit)));
StatEventAddDataInt(lv_stat, "IsWheel", (lv_castByWheel));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18256
StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(UnitGetPosition(lv_heroUnit)));
StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(UnitGetPosition(lv_heroUnit)));
StatEventAddDataInt(lv_stat, "IsWheel", (lv_castByWheel));
StatEventSend(lv_stat);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18963
StatEventCreate("TownStructureDeath");
StatEventAddDataInt(StatEventLastCreated(), "TownID", lv_townIndex);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventAddDataString(StatEventLastCreated(), "UnitType", (UnitGetType(lv_dyingStructureUnit)));
lv_itPlayer = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1722
StatEventCreate("JungleCampCapture");
StatEventAddDataInt(StatEventLastCreated(), "CampID", lp_camp);
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(lp_owner));
if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_GraveGolem) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BossCamp1) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BossCamp2) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BossCamp3))) {
StatEventAddDataString(StatEventLastCreated(), "CampType", "Boss Camp");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1742
StatEventAddDataString(StatEventLastCreated(), "CampType", "Other");
}
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);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3126
StatEventCreate("RavenCurseActivated");
StatEventAddDataInt(StatEventLastCreated(), "Event", (libGame_gv_teams[1].lv_map_CursesPlacedOnEnemyTeam + libGame_gv_teams[2].lv_map_CursesPlacedOnEnemyTeam));
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", lv_enemyTeamWinningTeam);
StatEventAddDataInt(StatEventLastCreated(), "TeamScore", libMapM_gv_mMRavenTeamStats[lv_enemyTeamWinningTeam].lv_triburteCollected);
StatEventAddDataInt(StatEventLastCreated(), "OpponentScore", libMapM_gv_mMRavenTeamStats[lv_cursedTeam].lv_triburteCollected);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3129
StatEventAddDataInt(StatEventLastCreated(), "TeamScore", libMapM_gv_mMRavenTeamStats[lv_enemyTeamWinningTeam].lv_triburteCollected);
StatEventAddDataInt(StatEventLastCreated(), "OpponentScore", libMapM_gv_mMRavenTeamStats[lv_cursedTeam].lv_triburteCollected);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libMapM_gf_PreCurseSiegeDamageCache(lv_enemyTeamWinningTeam);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:6475
StatEventCreate("TributeCollected");
StatEventAddDataInt(StatEventLastCreated(), "Event", libMapM_gv_mMRavenTributesCollected);
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", lv_collectedTeam);
StatEventSend(StatEventLastCreated());
if ((lv_collectedTeam == 1)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7497
StatEventCreate("DragonKnightActivated");
StatEventAddDataInt(StatEventLastCreated(), "Event", libMapM_gv_mMGardensDragonDragonCaptures);
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(libMapM_gv_mMGardensDragonPlayer));
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7498
StatEventAddDataInt(StatEventLastCreated(), "Event", libMapM_gv_mMGardensDragonDragonCaptures);
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);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:569
if ((lv_player > 0) && (lv_player <= libCore_gv_bALMaxPlayers)) {
StatEventCreate("PeriodicXPBreakdown");
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", TimerGetElapsed(libGame_gv_gameTimer));
StatEventAddDataFixed(StatEventLastCreated(), "PreviousGameTime", libSprt_gv_dataMiningTimeStampofLastPeriodicTransmit);
StatEventAddDataInt(StatEventLastCreated(), "Team", lv_itTeam);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:570
StatEventCreate("PeriodicXPBreakdown");
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", TimerGetElapsed(libGame_gv_gameTimer));
StatEventAddDataFixed(StatEventLastCreated(), "PreviousGameTime", libSprt_gv_dataMiningTimeStampofLastPeriodicTransmit);
StatEventAddDataInt(StatEventLastCreated(), "Team", lv_itTeam);
StatEventAddDataInt(StatEventLastCreated(), "TeamLevel", libGame_gv_teams[lv_itTeam].lv_teamLevel);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:573
StatEventAddDataInt(StatEventLastCreated(), "Team", lv_itTeam);
StatEventAddDataInt(StatEventLastCreated(), "TeamLevel", libGame_gv_teams[lv_itTeam].lv_teamLevel);
StatEventAddDataFixed(StatEventLastCreated(), "MinionXP", libGame_gv_players[lv_player].lv_xPRecievedFromMinions);
StatEventAddDataFixed(StatEventLastCreated(), "CreepXP", libGame_gv_players[lv_player].lv_xPRecievedFromCreeps);
StatEventAddDataFixed(StatEventLastCreated(), "StructureXP", libGame_gv_players[lv_player].lv_xPRecievedFromStructures);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:574
StatEventAddDataInt(StatEventLastCreated(), "TeamLevel", libGame_gv_teams[lv_itTeam].lv_teamLevel);
StatEventAddDataFixed(StatEventLastCreated(), "MinionXP", libGame_gv_players[lv_player].lv_xPRecievedFromMinions);
StatEventAddDataFixed(StatEventLastCreated(), "CreepXP", libGame_gv_players[lv_player].lv_xPRecievedFromCreeps);
StatEventAddDataFixed(StatEventLastCreated(), "StructureXP", libGame_gv_players[lv_player].lv_xPRecievedFromStructures);
StatEventAddDataFixed(StatEventLastCreated(), "HeroXP", libGame_gv_players[lv_player].lv_xPRecievedFromHeroes);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:575
StatEventAddDataFixed(StatEventLastCreated(), "MinionXP", libGame_gv_players[lv_player].lv_xPRecievedFromMinions);
StatEventAddDataFixed(StatEventLastCreated(), "CreepXP", libGame_gv_players[lv_player].lv_xPRecievedFromCreeps);
StatEventAddDataFixed(StatEventLastCreated(), "StructureXP", libGame_gv_players[lv_player].lv_xPRecievedFromStructures);
StatEventAddDataFixed(StatEventLastCreated(), "HeroXP", libGame_gv_players[lv_player].lv_xPRecievedFromHeroes);
StatEventAddDataFixed(StatEventLastCreated(), "TrickleXP", libGame_gv_players[lv_player].lv_xPRecievedFromTrickle);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:576
StatEventAddDataFixed(StatEventLastCreated(), "CreepXP", libGame_gv_players[lv_player].lv_xPRecievedFromCreeps);
StatEventAddDataFixed(StatEventLastCreated(), "StructureXP", libGame_gv_players[lv_player].lv_xPRecievedFromStructures);
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:577
StatEventAddDataFixed(StatEventLastCreated(), "StructureXP", libGame_gv_players[lv_player].lv_xPRecievedFromStructures);
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:626
// Implementation
StatEventCreate("GameStart");
StatEventAddDataFixed(StatEventLastCreated(), "MapSizeX", PointGetX(RegionGetBoundsMax(RegionEntireMap())));
StatEventAddDataFixed(StatEventLastCreated(), "MapSizeY", PointGetY(RegionGetBoundsMax(RegionEntireMap())));
StatEventSend(StatEventLastCreated());
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:627
StatEventCreate("GameStart");
StatEventAddDataFixed(StatEventLastCreated(), "MapSizeX", PointGetX(RegionGetBoundsMax(RegionEntireMap())));
StatEventAddDataFixed(StatEventLastCreated(), "MapSizeY", PointGetY(RegionGetBoundsMax(RegionEntireMap())));
StatEventSend(StatEventLastCreated());
lv_i = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:668
StatEventAddDataInt(StatEventLastCreated(), "Team", libGame_gf_TeamNumberOfPlayer(libGame_gv_townTownData[lv_i].lv_owner));
StatEventAddDataInt(StatEventLastCreated(), "Lane", libGame_gv_townTownData[lv_i].lv_lane);
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/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:591
StatEventAddDataInt(StatEventLastCreated(), "Event", libMLBD_gv_mMBOETimes);
StatEventAddDataInt(StatEventLastCreated(), "Winning Team", libMLBD_gv_mMBOEEventWinningTeam);
StatEventAddDataFixed(StatEventLastCreated(), "Immortal Power Percent", lv_hPPercent);
StatEventAddDataInt(StatEventLastCreated(), "Immortal Fight Duration", libMLBD_gv_mMBOEEventDurationTimer);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:593
StatEventAddDataFixed(StatEventLastCreated(), "Immortal Power Percent", lv_hPPercent);
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);
mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmod — base.stormdata/LibBBAY.galaxy:205
libCore_gf_CreateMinimapPingStorm(libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false), "StormWarning", UnitGetPosition(libBBAY_gv_mMBBCannonballsGhostShip), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 4.0);
StatEventCreate("GhostShipCaptured");
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", lv_shipTeam);
StatEventAddDataInt(StatEventLastCreated(), "TeamScore", libBBAY_gv_mMBBCannonballsBallsSubmitted[lv_shipTeam]);
StatEventAddDataInt(StatEventLastCreated(), "OpponentScore", libBBAY_gv_mMBBCannonballsBallsSubmitted[libGame_gf_EnemyTeam(lv_shipTeam)]);
mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmod — base.stormdata/LibBBAY.galaxy:208
StatEventAddDataInt(StatEventLastCreated(), "TeamScore", libBBAY_gv_mMBBCannonballsBallsSubmitted[lv_shipTeam]);
StatEventAddDataInt(StatEventLastCreated(), "OpponentScore", libBBAY_gv_mMBBCannonballsBallsSubmitted[libGame_gf_EnemyTeam(lv_shipTeam)]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libBBAY_gv_mMBBCannonballsTransmissionFiringIndex = 0;
mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmod — base.stormdata/LibSCHO.galaxy:529
libSCHO_gv_mMHO_TeamZergTier[libGame_gv_teamChaosIndex_C] = libSCHO_gf_MMHOGetUserDataInstanceTier(libGame_gv_teamChaosIndex_C);
StatEventCreate("BraxisHoldoutMapEventComplete");
StatEventAddDataFixed(StatEventLastCreated(), "TeamOrderProgress", libSCHO_gv_mMHO_TeamProgress[libGame_gv_teamOrderIndex_C]);
StatEventAddDataFixed(StatEventLastCreated(), "TeamChaosProgress", libSCHO_gv_mMHO_TeamProgress[libGame_gv_teamChaosIndex_C]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmod — base.stormdata/LibSCHO.galaxy:530
StatEventCreate("BraxisHoldoutMapEventComplete");
StatEventAddDataFixed(StatEventLastCreated(), "TeamOrderProgress", libSCHO_gv_mMHO_TeamProgress[libGame_gv_teamOrderIndex_C]);
StatEventAddDataFixed(StatEventLastCreated(), "TeamChaosProgress", libSCHO_gv_mMHO_TeamProgress[libGame_gv_teamChaosIndex_C]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmod — base.stormdata/LibSCHO.galaxy:531
StatEventAddDataFixed(StatEventLastCreated(), "TeamOrderProgress", libSCHO_gv_mMHO_TeamProgress[libGame_gv_teamOrderIndex_C]);
StatEventAddDataFixed(StatEventLastCreated(), "TeamChaosProgress", libSCHO_gv_mMHO_TeamProgress[libGame_gv_teamChaosIndex_C]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
libSCHO_gf_MMHOEventWarningAnnouncement();
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:792
libGame_gf_SendEventMapHauntedMinesBossSummoned(UnitLastCreated());
StatEventCreate("HauntedMinesGolemsSpawned");
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", lp_team);
StatEventAddDataFixed(StatEventLastCreated(), "SkullCount", libMHtM_gv_mMUnderworldSkullCollected[lp_team]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:793
StatEventCreate("HauntedMinesGolemsSpawned");
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", lp_team);
StatEventAddDataFixed(StatEventLastCreated(), "SkullCount", libMHtM_gv_mMUnderworldSkullCollected[lp_team]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:794
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", lp_team);
StatEventAddDataFixed(StatEventLastCreated(), "SkullCount", libMHtM_gv_mMUnderworldSkullCollected[lp_team]);
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
Wait(1.0, c_timeGame);
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1499
StatEventAddDataInt(StatEventLastCreated(), "Winning Score", libMSHE_gv_mMISKillCount[lv_winningTeam]);
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;
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1839
StatEventAddDataInt(StatEventLastCreated(), "Owning Team of Punisher", libGame_gf_TeamNumberOfPlayer(EventPlayer()));
StatEventAddDataString(StatEventLastCreated(), "Punisher Type", (libMSHE_gv_mMISBuff));
StatEventAddDataFixed(StatEventLastCreated(), "Siege Damage Done", libMSHE_gv_punisherSiegeDamage);
StatEventAddDataFixed(StatEventLastCreated(), "Hero Damage Done", libMSHE_gv_punisherHeroDamage);
StatEventAddDataInt(StatEventLastCreated(), "Duration", libMSHE_gv_punisherDuration);
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1840
StatEventAddDataString(StatEventLastCreated(), "Punisher Type", (libMSHE_gv_mMISBuff));
StatEventAddDataFixed(StatEventLastCreated(), "Siege Damage Done", libMSHE_gv_punisherSiegeDamage);
StatEventAddDataFixed(StatEventLastCreated(), "Hero Damage Done", libMSHE_gv_punisherHeroDamage);
StatEventAddDataInt(StatEventLastCreated(), "Duration", libMSHE_gv_punisherDuration);
StatEventSend(StatEventLastCreated());
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:571
StatEventAddDataInt(StatEventLastCreated(), "Event", libMLCP_gv_mMSkyTempleBlessIndex);
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);
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:2816
StatEventAddDataInt(StatEventLastCreated(), "TempleID", lv_itTempleIndex);
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)) {
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:3018
StatEventAddDataInt(StatEventLastCreated(), "TempleID", lv_itTempleIndex);
StatEventAddDataInt(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(UnitGetOwner(libMLCP_gv_mMSkyTemples[lv_itTempleIndex].lv_temple)));
StatEventAddDataFixed(StatEventLastCreated(), "SkyTempleShotsDamage", EventUnitDamageAmount());
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:3019
StatEventAddDataInt(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(UnitGetOwner(libMLCP_gv_mMSkyTemples[lv_itTempleIndex].lv_temple)));
StatEventAddDataFixed(StatEventLastCreated(), "SkyTempleShotsDamage", EventUnitDamageAmount());
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
break;
mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod — base.stormdata/LibMSOC.galaxy:2024
StatEventCreate("SoulEatersSpawned");
StatEventAddDataInt(StatEventLastCreated(), "Event", libMSOC_gv_mMTombSpiderQueenTotalTimesSpawned);
StatEventAddDataFixed(StatEventLastCreated(), "TeamID", lv_channelingTeam);
StatEventAddDataInt(StatEventLastCreated(), "TeamScore", libMSOC_gv_mMTombSpiderQueenSoulsTotal[lv_channelingTeam]);
StatEventAddDataInt(StatEventLastCreated(), "OpponentScore", libMSOC_gv_mMTombSpiderQueenSoulsTotal[lv_channelingTeamEnemy]);
mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod — base.stormdata/LibMSOC.galaxy:2027
StatEventAddDataInt(StatEventLastCreated(), "TeamScore", libMSOC_gv_mMTombSpiderQueenSoulsTotal[lv_channelingTeam]);
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];
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:161
StatEventCreate("Six Town Event Start");
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);
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:179
StatEventCreate("Six Town Event End");
StatEventAddDataInt(StatEventLastCreated(), "Owning Team", libGame_gf_TeamNumberOfPlayer(lp_computerPlayer));
StatEventAddDataFixed(StatEventLastCreated(), "End Time", TimerGetElapsed(libGame_gv_gameTimer));
StatEventSend(StatEventLastCreated());
SoundtrackStop(PlayerGroupAll(), c_soundtrackCategoryMusic, true);
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:123
libVLSK_gf_MonitorCapturePointProgressUntilComplete(lp_capturePointIndex);
StatEventCreate("VolskayaCapturePointSpawned");
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
}
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:372
StatEventCreate("VolskayaCapturePointComplete");
StatEventAddDataInt(StatEventLastCreated(), "WinningTeam", lp_victoryTeam);
StatEventAddDataFixed(StatEventLastCreated(), "LosingTeamProgress", libVLSK_gf_GetCapturePointVictoryProgressasInt(lp_capturePointIndex, libGame_gf_EnemyTeam(lp_victoryTeam)));
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:373
StatEventAddDataInt(StatEventLastCreated(), "WinningTeam", lp_victoryTeam);
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)) {
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:372
TimerStart(libMSC2_gv_mMSC2BuiltWarheadReminderTimer, libMSC2_gv_mMSC2WarheadPickupReminderDelay_C, false, c_timeGame);
StatEventCreate("WarheadJunctionNukesSpawned");
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
if ((libMSC2_gv_mMSC2FourWarheadsSpawn == true)) {
StatEventAddDataInt(StatEventLastCreated(), "NukeSpawnedCount", 4);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:666
StatEventCreate("WarheadJunctionNukeFired");
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventAddDataInt(StatEventLastCreated(), "OwningTeam", lv_allyTeam);
StatEventSend(StatEventLastCreated());
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:1864
}
StatEventCreate("WarheadJunctionNukeCollected");
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventAddDataInt(StatEventLastCreated(), "OwningTeam", lv_team);
StatEventSend(StatEventLastCreated());
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:2114
StatEventCreate("WarheadJunctionNukeDropped");
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventAddDataInt(StatEventLastCreated(), "OwningTeam", lv_allyTeam);
StatEventSend(StatEventLastCreated());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:5193
TextExpressionSetToken("Param/Expression/lib_COOC_06D1E9EA", "B", FixedToText(lp_value, c_fixedPrecisionAny));
TriggerDebugOutput(13, TextExpressionAssemble("Param/Expression/lib_COOC_06D1E9EA"), false);
StatEventAddDataFixed(lp_event, lp_key, lp_value);
}