# Killing Player
Grammar — Killing player
Flags —Function
Returns the killing player.
Returns — int
int libNtve_gf_KillingPlayer();
# Supported triggers
- Unit Dies — TriggerAddEventUnitDied
# Related
Category: Unit / Combat
- Get Unit Damage Dealt Time —
fixed
— UnitGetDamageDealtTime - Get Unit Damage Taken Time —
fixed
— UnitGetDamageTakenTime - Weapon Used In Attack —
string
<gamelink::Weapon> — EventUnitGetWeapon - Item Used In Attack —
unit
— EventUnitGetItem - Item Type Used In Attack —
string
<gamelink::Item> — EventUnitGetItemType - Unit Dies —
void
— TriggerAddEventUnitDied - Killing Unit —
unit
— libNtve_gf_KillingUnit - Killing Player —
int
— libNtve_gf_KillingPlayer - Triggering Death Type Check —
bool
— EventUnitDamageDeathCheck - Unit Is Being Removed —
void
— TriggerAddEventUnitRemoved - Unit Starts Attacking (Deprecated) —
void
— TriggerAddEventUnitStartedAttack - Unit Starts Attacking —
void
— TriggerAddEventUnitStartedAttack2 - Unit Is Attacked (Deprecated) —
void
— TriggerAddEventUnitAttacked - Unit Is Attacked —
void
— TriggerAddEventUnitAttacked2 - Attacking Unit —
unit
— EventUnitTarget - Unit Absorbs Damage —
void
— TriggerAddEventUnitDamageAbsorbed - Unit Takes Damage —
void
— TriggerAddEventUnitDamaged - Damaging Unit —
unit
— EventUnitDamageSourceUnit - Damaging Player —
int
— EventUnitDamageSourcePlayer - Damaging Effect —
string
<gamelink::Effect> — EventUnitDamageEffect - Triggering Damage Taken —
fixed
— EventUnitDamageAmount - Triggering Damage Attempted —
fixed
— EventUnitDamageAttempted - Triggering Damage Attempted Vitals —
fixed
— EventUnitDamageAttemptedVitals - Triggering Damage Absorbed —
fixed
— EventUnitDamageAbsorbed - Triggering Damage Behavior Shield —
fixed
— EventUnitDamageBehaviorShield - Triggering Vitals Leeched —
fixed
— EventUnitDamageVitalsLeeched - Triggering Unit Kill XP —
int
— EventUnitDamageKillXP - Damage Source Position —
point
— EventUnitDamageSourcePoint - Unit is Healed —
void
— TriggerAddEventUnitHealed - Healing Unit —
unit
— EventUnitHealLaunchUnit - Healing Player —
int
— EventUnitHealLaunchPlayer - Triggering Heal Vital Type —
int
<preset::UnitVitalType> — EventUnitHealVital - Triggering Heal Given —
fixed
— EventUnitHealAmount - Healing Effect —
string
<gamelink::Effect> — EventUnitHealEffect - Unit Spends Vital —
void
— TriggerAddEventUnitSpendVital - Triggering Spent Vital Type —
int
<preset::UnitVitalType> — EventUnitSpentVitalVital - Triggering Vital Spent —
fixed
— EventUnitSpentVitalAmount - Unit Acquires Target —
void
— TriggerAddEventUnitAcquiredTarget - Acquired Target —
unit
— libNtve_gf_AcquiredTarget - Unit Is Revived —
void
— TriggerAddEventUnitRevive - Triggering Victim Unit —
unit
— EventUnitVictimUnit - Triggering Item Used —
unit
— EventUnitItemUsed - Triggering Effect Used —
string
<gamelink::Effect> — EventUnitEffectUsed
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7960
}
if (!((libNtve_gf_KillingPlayer() == gv_p1_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:4689
ObjectiveSetState(gv_researchObjectiveKilltheBrutalisk, c_objectiveStateCompleted);
ObjectiveSetName(gv_researchObjectiveKilltheBrutalisk, (StringExternal("Param/Value/9C764397") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectKilltheBrutalisk, libCamp_ge_StoryResearchObjectiveTextStyle_Lumpsum, 1, 1)));
if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (libNtve_gf_KillingPlayer() == gv_p03_LAVA)) {
AchievementAward(gv_p01_USER, "TTosh01_2");
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7960
}
if (!((libNtve_gf_KillingPlayer() == gv_p1_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:4689
ObjectiveSetState(gv_researchObjectiveKilltheBrutalisk, c_objectiveStateCompleted);
ObjectiveSetName(gv_researchObjectiveKilltheBrutalisk, (StringExternal("Param/Value/9C764397") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectKilltheBrutalisk, libCamp_ge_StoryResearchObjectiveTextStyle_Lumpsum, 1, 1)));
if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (libNtve_gf_KillingPlayer() == gv_p03_LAVA)) {
AchievementAward(gv_p01_USER, "TTosh01_2");
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:2401
}
if (!((libNtve_gf_KillingPlayer() != gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:2401
}
if (!((libNtve_gf_KillingPlayer() != gv_pLAYER_01_USER))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:4164
}
if ((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER) && ((UnitGetOwner(EventUnit()) == gv_pLAYER_05_VOIDFORCES) || (UnitGetOwner(EventUnit()) == gv_pLAYER_06_VOIDFORCES) || (UnitGetOwner(EventUnit()) == gv_pLAYER_07_VOIDFORCES)) && (UnitGetType(EventUnit()) != "VoidShard") && (UnitGetType(EventUnit()) != "VoidRiftUnselectable")) {
gv_victoryStat_VoidUnitsKilled += 1;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:1361
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:4319
// Conditions
if (testConds) {
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2map — MapScript.galaxy:4164
}
if ((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER) && ((UnitGetOwner(EventUnit()) == gv_pLAYER_05_VOIDFORCES) || (UnitGetOwner(EventUnit()) == gv_pLAYER_06_VOIDFORCES) || (UnitGetOwner(EventUnit()) == gv_pLAYER_07_VOIDFORCES)) && (UnitGetType(EventUnit()) != "VoidShard") && (UnitGetType(EventUnit()) != "VoidRiftUnselectable")) {
gv_victoryStat_VoidUnitsKilled += 1;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:1361
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:4319
// Conditions
if (testConds) {
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1748
libAMGT_gv_aRMGardenLastClearedTerrorIndex[2] = libAMGT_gv_aRMGardenLastClearedTerrorIndex[1];
libAMGT_gv_aRMGardenLastClearedTerrorIndex[1] = lv_diedTerrorIndex;
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventWon", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupAlly, libNtve_gf_KillingPlayer()), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventLost", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupEnemy, libNtve_gf_KillingPlayer()), 100.0, 0.0);
libAMGT_gf_ARMGardenTerrorDropsSeeds(EventUnit());
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1749
libAMGT_gv_aRMGardenLastClearedTerrorIndex[1] = lv_diedTerrorIndex;
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventWon", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupAlly, libNtve_gf_KillingPlayer()), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventLost", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupEnemy, libNtve_gf_KillingPlayer()), 100.0, 0.0);
libAMGT_gf_ARMGardenTerrorDropsSeeds(EventUnit());
libAMGT_gf_ARMGardenDropSeeds(UnitGetPosition(EventUnit()), libAMGT_gv_aRMGardenSeedsTerrorFinalDrop_C, true);
mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod — base.stormdata/LibAMVS.galaxy:2769
// Variable Initialization
lv_killingPlayer = libNtve_gf_KillingPlayer();
// Actions
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:5816
}
if (!((libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer()) == libGame_gv_teamOrderIndex_C))) {
return false;
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:5820
}
if (!(((libNtve_gf_KillingPlayer() >= 1) && (libNtve_gf_KillingPlayer() <= libCore_gv_cOMPUTER_TeamOrder)))) {
return false;
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:5820
}
if (!(((libNtve_gf_KillingPlayer() >= 1) && (libNtve_gf_KillingPlayer() <= libCore_gv_cOMPUTER_TeamOrder)))) {
return false;
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:5830
}
if ((libNtve_gf_KillingPlayer() == 11)) {
lv_killingPlayerName = StringToText("");
lv_killingPlayerUnitName = StringExternal("Param/Value/lib_PEB1_4C71A7AF");
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:5835
}
else {
TextExpressionSetToken("Param/Expression/lib_PEB1_0E6D5415", "A", PlayerName(libNtve_gf_KillingPlayer()));
lv_killingPlayerName = TextExpressionAssemble("Param/Expression/lib_PEB1_0E6D5415");
TextExpressionSetToken("Param/Expression/lib_PEB1_6F44EC17", "A", UnitGetName(libGame_gv_players[libNtve_gf_KillingPlayer()].lv_heroUnit));
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:5837
TextExpressionSetToken("Param/Expression/lib_PEB1_0E6D5415", "A", PlayerName(libNtve_gf_KillingPlayer()));
lv_killingPlayerName = TextExpressionAssemble("Param/Expression/lib_PEB1_0E6D5415");
TextExpressionSetToken("Param/Expression/lib_PEB1_6F44EC17", "A", UnitGetName(libGame_gv_players[libNtve_gf_KillingPlayer()].lv_heroUnit));
lv_killingPlayerUnitName = TextExpressionAssemble("Param/Expression/lib_PEB1_6F44EC17");
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:4541
libPVEB_gf_PvEPickupSpawnRandomInRotation("PVEMiniNukePickup", UnitGetPosition(EventUnit()));
TimerStart(libPEB1_gv_zergHeroes[libPEB1_gv_currentStage][lv_itHero].lv_respawnTimer, libPEB1_gv_zergHeroRespawnTimer, false, c_timeGame);
if ((UnitGetOwner(EventUnit()) != libNtve_gf_KillingPlayer())) {
TextExpressionSetToken("Param/Expression/lib_PEB1_7E30233A", "A", PlayerName(libNtve_gf_KillingPlayer()));
TextExpressionSetToken("Param/Expression/lib_PEB1_7E30233A", "B", UnitGetName(libNtve_gf_KillingUnit()));
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:4542
TimerStart(libPEB1_gv_zergHeroes[libPEB1_gv_currentStage][lv_itHero].lv_respawnTimer, libPEB1_gv_zergHeroRespawnTimer, false, c_timeGame);
if ((UnitGetOwner(EventUnit()) != libNtve_gf_KillingPlayer())) {
TextExpressionSetToken("Param/Expression/lib_PEB1_7E30233A", "A", PlayerName(libNtve_gf_KillingPlayer()));
TextExpressionSetToken("Param/Expression/lib_PEB1_7E30233A", "B", UnitGetName(libNtve_gf_KillingUnit()));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_7E30233A"));
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:4552
else {
UnitBehaviorAdd(libGame_gv_players[lv_murkyPlayer].lv_heroUnit, "MurkyDeadEggReveal", libNtve_gf_KillingUnit(), 1);
if ((UnitGetOwner(EventUnit()) != libNtve_gf_KillingPlayer())) {
TextExpressionSetToken("Param/Expression/lib_PEB1_A5263822", "A", PlayerName(libNtve_gf_KillingPlayer()));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_A5263822"));
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:4553
UnitBehaviorAdd(libGame_gv_players[lv_murkyPlayer].lv_heroUnit, "MurkyDeadEggReveal", libNtve_gf_KillingUnit(), 1);
if ((UnitGetOwner(EventUnit()) != libNtve_gf_KillingPlayer())) {
TextExpressionSetToken("Param/Expression/lib_PEB1_A5263822", "A", PlayerName(libNtve_gf_KillingPlayer()));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_A5263822"));
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:2069
}
libPVEB_gf_AwardXPForNPCKill(EventUnit(), UnitGetOwner(EventUnit()), libGame_ge_XPSources_Minion, libNtve_gf_KillingPlayer(), EventUnitDamageKillXP());
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlstarcraft.stormmod — base.stormdata/LibPESC.galaxy:103
}
lv_killingPlayer = libNtve_gf_KillingPlayer();
libGame_gf_SendEventHeroParticipatedInTakedown(lv_killingPlayer, lv_killingPlayer, lv_deadPlayer, lv_deadUnit, UnitGetPosition(lv_deadUnit));
return true;
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:2427
}
libPVEM_gf_AwardXPForNPCKill(EventUnit(), UnitGetOwner(EventUnit()), libGame_ge_XPSources_Minion, libNtve_gf_KillingPlayer(), EventUnitDamageKillXP());
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/pvestarcraft.stormmod — base.stormdata/LibPESC.galaxy:103
}
lv_killingPlayer = libNtve_gf_KillingPlayer();
libGame_gf_SendEventHeroParticipatedInTakedown(lv_killingPlayer, lv_killingPlayer, lv_deadPlayer, lv_deadUnit, UnitGetPosition(lv_deadUnit));
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:13173
lv_vikingUnitGroupIgnoringController = UnitGroupEmpty();
lv_lVPlayer = EventPlayer();
lv_killingPlayer = libNtve_gf_KillingPlayer();
lv_killingTeamGroup = PlayerGroupEmpty();
lv_killingGroup = PlayerGroupEmpty();
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:13196
}
lv_killingPlayer = libNtve_gf_KillingPlayer();
libGame_gf_SendEventHeroKilled(lv_killingPlayer, lv_deadUnit);
auto643616C6_val = UnitGetType(lv_deadUnit);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:17035
libGame_gv_players[lv_eggOwnerPlayer].lv_soundDeathAlertPrefix = "UI_HeroDeath_Murky_";
lv_killingPlayer = libNtve_gf_KillingPlayer();
libGame_gv_heroDeathMurkyRespawnEggs[lv_eggOwnerPlayer] = null;
libGame_gv_heroDeathMurkyRespawnEggPoint[lv_eggOwnerPlayer] = UnitGetPosition(EventUnit());
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:17140
lv_deadUnit = EventUnit();
lv_deadPlayer = EventPlayer();
lv_killingPlayer = libNtve_gf_KillingPlayer();
PingDestroy(libGDHL_gv_murkyRevealPing[lv_deadPlayer]);
libGame_gv_players[lv_deadPlayer].lv_isDead = true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:19790
lv_rexxarPlayer = UnitGetOwner(EventUnit());
lv_misha = EventUnit();
lv_killingPlayer = libNtve_gf_KillingPlayer();
lv_killingTeamGroup = libGame_gf_EnemyPlayerGroupOfPlayer(lv_rexxarPlayer);
libGDHL_gv_heroRexxarMishaPursuitTarget[lv_rexxarPlayer] = null;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:19798
if ((UnitGetType(libGame_gv_players[EventPlayer()].lv_heroUnit) != "HeroAbathur")) {
lv_rexxarUnit = libGame_gv_players[lv_rexxarPlayer].lv_heroUnit;
lv_killingGroup = libGame_gf_HeroDeathGetKillingGroupFromKillingTeamGroupAndDeadUnit(lv_killingTeamGroup, libNtve_gf_KillingPlayer(), EventUnit());
libGame_gf_HeroDeathAwardXP(lv_killingPlayer, EventUnit(), lv_killingTeamGroup, lv_killingGroup, true);
if ((lv_killingPlayer == 16)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:19813
if (lv_itPlayer<0) { break; }
libGame_gf_ScoreValuesRecordXPContributionForPlayer(lv_itPlayer, (libCore_gf_DataXPXPForHero(lv_itPlayer, EventUnit()) / PlayerGroupCount(lv_killingGroup)), false);
libGame_gf_SendEventHeroParticipatedInTakedown(libNtve_gf_KillingPlayer(), lv_itPlayer, lv_rexxarPlayer, EventUnit(), UnitGetPosition(EventUnit()));
}
if ((UnitIsAlive(lv_rexxarUnit) == true)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:16934
}
lv_killingPlayer = libNtve_gf_KillingPlayer();
UISetTargetingOrder(libCore_gv_playerGroupFromPlayer[lv_deadPlayer], libNtve_gf_ConvertUnitToUnitGroup(lv_deadUnit), null, false);
libGame_gv_players[lv_deadPlayer].lv_isDead = true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:17327
lv_deadUnit = EventUnit();
lv_deadPlayer = EventPlayer();
lv_killingPlayer = libNtve_gf_KillingPlayer();
lv_currentStackCountofSoulstone = UnitBehaviorCount(EventUnit(), "DiabloBlackSoulstoneTokenCounter");
lv_deadUnitsOriginalLocation = UnitGetPosition(EventUnit());
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18862
lv_unitType = UnitGetType(lv_unit);
if ((UnitTypeTestAttribute(lv_unitType, c_unitAttributeCreep) == true)) {
libGame_gf_CreepDies(lv_unit, libNtve_gf_KillingPlayer(), EventUnitDamageKillXP());
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18871
if ((UnitTypeTestAttribute(lv_unitType, c_unitAttributeMinion) == true) && (UnitTestState(lv_unit, c_unitStateHallucination) == false) && (libGame_gv_minionSystemStarted == true)) {
libGame_gf_MinionDies(lv_unit, libNtve_gf_KillingPlayer(), EventUnitDamageKillXP());
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18953
}
libGame_gf_AwardXPForNPCKill(lv_dyingStructureUnit, EventPlayer(), c_unitAttributeStructure, libNtve_gf_KillingPlayer(), EventUnitDamageKillXP());
if ((UnitGetOwner(lv_dyingStructureUnit) == libCore_gv_cOMPUTER_TeamOrder)) {
lv_killingFaction = libGame_ge_Faction_Chaos;
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:1862
// Variable Initialization
lv_dyingMonster = EventUnit();
lv_killingPlayer = libNtve_gf_KillingPlayer();
lv_groupIndex = libMHtM_gf_MMUnderworldMineMinionGroupIndex(lv_dyingMonster);
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1421
}
libMSHE_gv_mMISKillCount[libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())] += 1;
lv_textTagPlayers = libGame_gf_AlliedPlayerGroupOfPlayer(libNtve_gf_KillingPlayer());
lv_enemyTextTagPlayers = libGame_gf_EnemyPlayerGroupOfPlayer(libNtve_gf_KillingPlayer());
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1422
libMSHE_gv_mMISKillCount[libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())] += 1;
lv_textTagPlayers = libGame_gf_AlliedPlayerGroupOfPlayer(libNtve_gf_KillingPlayer());
lv_enemyTextTagPlayers = libGame_gf_EnemyPlayerGroupOfPlayer(libNtve_gf_KillingPlayer());
if ((libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer()) == libGame_gv_teamOrderIndex_C)) {
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1423
libMSHE_gv_mMISKillCount[libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())] += 1;
lv_textTagPlayers = libGame_gf_AlliedPlayerGroupOfPlayer(libNtve_gf_KillingPlayer());
lv_enemyTextTagPlayers = libGame_gf_EnemyPlayerGroupOfPlayer(libNtve_gf_KillingPlayer());
if ((libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer()) == libGame_gv_teamOrderIndex_C)) {
PlayerGroupAdd(lv_textTagPlayers, libCore_gv_oBSERVER_ObserverUIPlayer);
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1424
lv_textTagPlayers = libGame_gf_AlliedPlayerGroupOfPlayer(libNtve_gf_KillingPlayer());
lv_enemyTextTagPlayers = libGame_gf_EnemyPlayerGroupOfPlayer(libNtve_gf_KillingPlayer());
if ((libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer()) == libGame_gv_teamOrderIndex_C)) {
PlayerGroupAdd(lv_textTagPlayers, libCore_gv_oBSERVER_ObserverUIPlayer);
}
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1440
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
TextTagSetFogVisibility(TextTagLastCreated(), c_visTypeFog);
libMSHE_gf_MMISTextTagScoreHandler((3 - libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())), libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer()), libMSHE_gv_mMISShrines[libMSHE_gv_mMISCurrentShrine]);
if ((libMSHE_gv_mMISKillCount[libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())] == libMSHE_gv_mMDiabloShrineCursedEventTotal_C)) {
lv_shrine = libMSHE_gv_mMISShrines[libMSHE_gv_mMISCurrentShrine];
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1440
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
TextTagSetFogVisibility(TextTagLastCreated(), c_visTypeFog);
libMSHE_gf_MMISTextTagScoreHandler((3 - libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())), libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer()), libMSHE_gv_mMISShrines[libMSHE_gv_mMISCurrentShrine]);
if ((libMSHE_gv_mMISKillCount[libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())] == libMSHE_gv_mMDiabloShrineCursedEventTotal_C)) {
lv_shrine = libMSHE_gv_mMISShrines[libMSHE_gv_mMISCurrentShrine];
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1441
TextTagSetFogVisibility(TextTagLastCreated(), c_visTypeFog);
libMSHE_gf_MMISTextTagScoreHandler((3 - libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())), libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer()), libMSHE_gv_mMISShrines[libMSHE_gv_mMISCurrentShrine]);
if ((libMSHE_gv_mMISKillCount[libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())] == libMSHE_gv_mMDiabloShrineCursedEventTotal_C)) {
lv_shrine = libMSHE_gv_mMISShrines[libMSHE_gv_mMISCurrentShrine];
lv_winningTeam = libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer());
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1443
if ((libMSHE_gv_mMISKillCount[libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer())] == libMSHE_gv_mMDiabloShrineCursedEventTotal_C)) {
lv_shrine = libMSHE_gv_mMISShrines[libMSHE_gv_mMISCurrentShrine];
lv_winningTeam = libGame_gf_TeamNumberOfPlayer(libNtve_gf_KillingPlayer());
if ((UnitHasBehavior2(lv_shrine, "CombatShrine") == true)) {
lv_shrineBuff = "CombatShrineBuff";
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1492
lv_bannerSconceUnit = UnitGroupUnitFromEnd(autoD5FE4C8D_g, autoD5FE4C8D_u);
if (lv_bannerSconceUnit == null) { break; }
libGame_gf_DropLootBannerinSconce(lv_bannerSconceUnit, libGame_gv_players[libNtve_gf_KillingPlayer()].lv_lootContent.lv_loot_Banner.lv_bannerID, libNtve_gf_KillingPlayer(), true);
}
StatEventCreate("Infernal Shrine Captured");
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1492
lv_bannerSconceUnit = UnitGroupUnitFromEnd(autoD5FE4C8D_g, autoD5FE4C8D_u);
if (lv_bannerSconceUnit == null) { break; }
libGame_gf_DropLootBannerinSconce(lv_bannerSconceUnit, libGame_gv_players[libNtve_gf_KillingPlayer()].lv_lootContent.lv_loot_Banner.lv_bannerID, libNtve_gf_KillingPlayer(), true);
}
StatEventCreate("Infernal Shrine Captured");
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:378
lv_deadUnit = EventUnit();
lv_deadPlayer = EventPlayer();
lv_killingPlayer = libNtve_gf_KillingPlayer();
libGame_gv_players[lv_deadPlayer].lv_isDead = true;
libNtve_gf_CreateUnitsWithDefaultFacing(1, "DeadUnitCameraTarget", 0, lv_deadPlayer, UnitGetPosition(lv_deadUnit), lv_deadUnit);
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:3862
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:2361
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:7827
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:1991
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:4755
// Conditions
if (testConds) {
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:9263
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:9303
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:2412
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:8938
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:8982
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4225
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2map — MapScript.galaxy:3862
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:2361
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:7827
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:1991
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:4755
// Conditions
if (testConds) {
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:9263
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:9303
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:2412
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:8938
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:8982
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:4225
}
if (!((libNtve_gf_KillingPlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15216
lv_biomassBrutalMultiplier = 1.25;
lv_biomassToxicNestMultiplier = 1.0;
lv_abathurAllyOfKillingPlayer = libCOOC_gf_CC_PlayerOfCommanderInGroupFirst("ZergAbathur", libCOOC_gf_MutualAlliedCommandersofPlayerCoutInactiveAndSelf(libNtve_gf_KillingPlayer()));
// Conditions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15220
// Conditions
if (testConds) {
if (!((libNtve_gf_KillingPlayer() != c_playerAny))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15224
}
if (!((libNtve_gf_PlayerIsEnemy(libNtve_gf_KillingPlayer(), UnitGetOwner(EventUnit()), libNtve_ge_PlayerRelation_AllyMutual) == false))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15244
}
if (!((PlayerGroupHasPlayer(libCOOC_gf_CommanderPlayers(), libNtve_gf_KillingPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15624
lv_rand = RandomInt(1, 100);
lv_foodCompare = (StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(EventUnit()), "Food", 0)) * -16.0);
lv_abathurAllyOfKillingPlayer = libCOOC_gf_CC_PlayerOfCommanderInGroupFirst("ZergAbathur", libCOOC_gf_MutualAlliedCommandersofPlayerCoutInactiveAndSelf(libNtve_gf_KillingPlayer()));
// Conditions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15628
// Conditions
if (testConds) {
if (!((libNtve_gf_KillingPlayer() != c_playerAny))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15640
}
if (!((PlayerGroupHasPlayer(libCOOC_gf_CommanderPlayers(), libNtve_gf_KillingPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:17581
// Conditions
if (testConds) {
if (!((libNtve_gf_KillingPlayer() != c_playerAny))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:17585
}
if (!((PlayerGroupHasPlayer(libCOOC_gf_CommanderPlayers(), libNtve_gf_KillingPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:17589
}
if (!((PlayerGroupHasPlayer(libCOOC_gf_MutualAlliedCommandersofPlayerCoutInactiveAndSelf(libNtve_gf_KillingPlayer()), EventPlayer()) == false))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:523
// Implementation
if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickWalkingInfested)] == false) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_killedUnit)) == false) || (UnitGetOwner(lp_killedUnit) == c_playerAny) || (UnitFilterMatch(lp_killedUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32)))) == false) || (UnitGroupHasUnit(libCOMU_gv_cT_OnDeathSpawns, lp_killedUnit) == true) || (libNtve_gf_KillingPlayer() == UnitGetOwner(lp_killedUnit)) || (UnitGetType(lp_killedUnit) == "TerranDropPod") || (UnitGetType(lp_killedUnit) == "ZergDropPodLarge") || (UnitGetType(lp_killedUnit) == "ZergDropPod") || (PathingType(UnitGetPosition(lp_killedUnit)) != c_pathingGround))) {
return ;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6312
// Automatic Variable Declarations
// Variable Initialization
lv_killer = libNtve_gf_KillingPlayer();
// Conditions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:8533
// Conditions
if (testConds) {
if (!((libNtve_gf_KillingPlayer() != c_playerAny))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:8537
}
if (!((PlayerGroupHasPlayer(libCOOC_gf_NondefeatedPlayers(), libNtve_gf_KillingPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:8541
}
if (!((libNtve_gf_PlayerIsEnemy(libNtve_gf_KillingPlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:8555
}
PlayerScoreValueSetFromInt(libNtve_gf_KillingPlayer(), "UnitsStructuresKilled", (PlayerScoreValueGetAsInt(libNtve_gf_KillingPlayer(), "UnitsStructuresKilled")+1));
return true;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:8555
}
PlayerScoreValueSetFromInt(libNtve_gf_KillingPlayer(), "UnitsStructuresKilled", (PlayerScoreValueGetAsInt(libNtve_gf_KillingPlayer(), "UnitsStructuresKilled")+1));
return true;
}