# Triggering Effect Used
Flags —
Native
|Function
Returns — string
<gamelink::Effect>
native string EventPlayerEffectUsed();
# Supported triggers
- Effect Used — TriggerAddEventPlayerEffectUsed
# Related
Category: Environment / Effects
- Create Explosion At Point —
void
— libNtve_gf_CreateExplosionAtPoint - Create Effect At Point (From Player) —
void
— PlayerCreateEffectPoint - Create Effect On Unit (From Player) —
void
— PlayerCreateEffectUnit - Create Effect At Point (From Unit) —
void
— UnitCreateEffectPoint - Create Effect On Unit (From Unit) —
void
— UnitCreateEffectUnit - Damage Unit (From Unit) —
void
— UnitDamage - Player Can Create Effect At Point —
bool
— libNtve_gf_PlayerCanCreateEffectAtPoint - Player Can Create Effect On Unit —
bool
— libNtve_gf_PlayerCanCreateEffectOnUnit - Unit Can Create Effect At Point —
bool
— libNtve_gf_UnitCanCreateEffectAtPoint - Unit Can Create Effect On Unit —
bool
— libNtve_gf_UnitCanCreateEffectOnUnit - Destroy Effects —
void
— GameDestroyEffects - Effect Used —
void
— TriggerAddEventPlayerEffectUsed - Effect Used From Scope —
void
— TriggerAddEventPlayerEffectUsedFromScope - Triggering Effect Used —
string
<gamelink::Effect> — EventPlayerEffectUsed - Triggering Effect Point —
point
— EventPlayerEffectUsedPoint - Triggering Effect Unit —
unit
— EventPlayerEffectUsedUnit - Triggering Effect Item —
unit
— EventPlayerEffectUsedItem - Triggering Effect Impact Unit —
unit
— EventPlayerEffectUsedUnitImpact - Triggering Effect Launch Unit —
unit
— EventPlayerEffectUsedUnitLaunch - Triggering Effect Unit Owner —
int
— EventPlayerEffectUsedUnitOwner - Triggering Effect Unit Type —
string
<gamelink::Unit> — EventPlayerEffectUsedUnitType - Triggering Effect Item Type —
string
<gamelink::Unit> — EventPlayerEffectUsedItemType - Triggering Effect Amount (Integer) —
int
— EventPlayerEffectUsedAmountInt - Triggering Effect Amount (Real) —
fixed
— EventPlayerEffectUsedAmountFixed - Triggering Effect Source Behavior —
string
<gamelink::Behavior> — EventPlayerEffectUsedSourceBehavior - Triggering Effect Weapon —
string
<gamelink::Weapon> — EventPlayerEffectUsedWeapon - Triggering Effect Ability —
string
<gamelink::Abil> — EventPlayerEffectUsedAbil
# Examples
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:5782
}
lv_effect = EventPlayerEffectUsed();
if ((lv_effect != null)) {
lv_behavior = EventPlayerEffectUsedSourceBehavior();
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:5782
}
lv_effect = EventPlayerEffectUsed();
if ((lv_effect != null)) {
lv_behavior = EventPlayerEffectUsedSourceBehavior();
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10628
StatEventCreate("Pickup Used");
autoE3D539F5_val = EventPlayerEffectUsed();
if (autoE3D539F5_val == "PvEMiniNukeInitialSet") {
StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Mini Nuke");
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:9732
StatEventCreate("Pickup Used");
autoE3D539F5_val = EventPlayerEffectUsed();
if (autoE3D539F5_val == "PvEMiniNukeInitialSet") {
StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Mini Nuke");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7055
}
lv_effect = EventPlayerEffectUsed();
lv_stackCount = CatalogFieldValueGetAsFixed(c_gameCatalogEffect, lv_effect, "Value", lv_player);
if ((lv_effect == "AzmodanGlobeOfAnnihilationDeathModifyTokenMinion")) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7262
lv_targetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
if ((EventPlayerEffectUsed() == "AzmodanSummonDemonWarriorDummySet")) {
lv_casterPoint = EventPlayerEffectUsedPoint(c_effectLocationCasterPoint);
lv_facing = UnitGetFacing(lv_azmodan);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7267
lv_offsetPoint = PointWithOffsetPolar(libNtve_gf_PointFromPositionAndAngle(lv_casterPoint, UnitGetFacing(lv_azmodan)), lv_offset, UnitGetFacing(lv_azmodan));
}
else if ((EventPlayerEffectUsed() == "AzmodanSummonDemonWarriorArmyOfHellTalentDummySet1")) {
lv_casterPoint = EventPlayerEffectUsedPoint(c_effectLocationCasterPoint);
lv_facing = UnitGetFacing(lv_azmodan);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7273
lv_offsetPoint = PointWithOffsetPolar(libNtve_gf_PointFromPositionAndAngle(lv_casterPoint, UnitGetFacing(lv_azmodan)), lv_offset, (UnitGetFacing(lv_azmodan) + 17.5));
}
else if ((EventPlayerEffectUsed() == "AzmodanSummonDemonWarriorArmyOfHellTalentDummySet2")) {
lv_casterPoint = EventPlayerEffectUsedPoint(c_effectLocationCasterPoint);
lv_facing = (UnitGetFacing(lv_azmodan) - 17.5);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7278
lv_offsetPoint = PointWithOffsetPolar(libNtve_gf_PointFromPositionAndAngle(lv_casterPoint, UnitGetFacing(lv_azmodan)), lv_offset, (UnitGetFacing(lv_azmodan) - 17.5));
}
else if ((EventPlayerEffectUsed() == "AzmodanSummonDemonWarriorHellRiftTalentDummySet")) {
lv_casterPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_offset = 0.0;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7288
libNtve_gf_UnitCreateFacingPoint(1, "AzmodanDemonWarrior", 0, UnitGetOwner(lv_azmodan), lv_offsetPoint, PointWithOffsetPolar(libNtve_gf_PointFromPositionAndAngle(lv_casterPoint, UnitGetFacing(lv_azmodan)), 4.5, lv_facing), lv_azmodan);
lv_demon = UnitLastCreated();
if ((EventPlayerEffectUsed() == "AzmodanSummonDemonWarriorHellRiftTalentDummySet")) {
UnitCreateEffectUnit(lv_azmodan, "AzmodanSummonDemonWarriorTalentedSpawnSet", lv_demon);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7364
// Automatic Variable Declarations
// Variable Initialization
lv_effect = EventPlayerEffectUsed();
lv_unit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_regenAmount = CatalogFieldValueGetAsFixed(c_gameCatalogEffect, lv_effect, "VitalArray[" + IntToString(c_unitVitalEnergy) + "].Change", c_playerAny);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7886
// Automatic Variable Declarations
// Variable Initialization
lv_effect = EventPlayerEffectUsed();
// Conditions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:8716
}
if ((EventPlayerEffectUsed() == "LiLiBlindingWindRemoveBehaviorBlind")) {
PlayerGroupAdd(lv_players, lv_caster);
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:16241
// Variable Initialization
lv_playersInVac = PlayerGroupEmpty();
lv_triggeringEffect = EventPlayerEffectUsed();
lv_dropship = EventPlayerEffectUsedUnit(c_effectUnitTarget);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18129
lv_voiceLine = libGame_gv_players[lv_yellingPlayer].lv_lootContent.lv_loot_VoiceLine.lv_voiceLineID;
lv_heroUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_castByWheel = (EventPlayerEffectUsed() == "LootYellVoiceLineWheelDummy");
lv_mapID = libCore_gv_mAPMapStringID;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18224
lv_point = UnitGetPosition(lv_heroUnit);
lv_spray = libGame_gv_players[lv_sprayingPlayer].lv_lootContent.lv_loot_Spray.lv_sprayID;
lv_castByWheel = (EventPlayerEffectUsed() == "LootSprayWheelDummy");
lv_mapID = libCore_gv_mAPMapStringID;
lv_scope = ActorScopeFromUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SoundLib.galaxy:1478
}
if (!((CatalogFieldValueGetAsInt(c_gameCatalogEffect, EventPlayerEffectUsed(), "Flags[TriggerVoiceResponse]", c_playerAny) == 1))) {
return false;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11764
if (((UnitTypeTestAttribute(UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitSource)), c_unitAttributeHeroic) == true) || (UnitTypeTestAttribute(UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitTarget)), c_unitAttributeHeroic) == true))) {
if (((EventPlayerEffectUsed() == "BlindMissedDummy"))) {
if ((UnitIsValid(EventPlayerEffectUsedUnit(c_effectUnitTarget)) == false)) {
return true;
mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod — base.stormdata/LibMSOC.galaxy:1806
libNtve_gf_AddPlayerGroupToPlayerGroup(libGame_gf_AlliedPlayerGroupOfPlayer(lv_collectingPlayer), lv_textTagPlayers);
PlayerGroupAdd(lv_textTagPlayers, libCore_gv_oBSERVER_ObserverUIPlayer);
auto706F8613_val = EventPlayerEffectUsed();
if (auto706F8613_val == "SoulPickup1Set") {
lv_count = 1;
mods/heromods/alarak.stormmod — base.stormdata/LibHALA.galaxy:560
// Variable Initialization
lv_effect = EventPlayerEffectUsed();
lv_transportingUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_transportedUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
mods/heromods/alarak.stormmod — base.stormdata/LibHALA.galaxy:797
lv_unit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_effectString = (EventPlayerEffectUsed());
lv_searchNumber = StringReplaceWord(lv_effectString, "AlarakLightningSurgeSearch", "", c_stringReplaceAll, c_stringCase);
lv_finalNumberReal = (StringToFixed(lv_searchNumber) * 0.12);
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:1224
}
if ((EventPlayerEffectUsed() == "ChoRuneBombImpactDummy") && (PlayerHasTalent(EventPlayer(), "ChoRollback") == true)) {
}
else {
mods/heromods/lucio.stormmod — base.stormdata/LibHLUC.galaxy:399
lv_casterPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
if ((EventPlayerEffectUsed() == "LucioSoundBarrierShieldApply")) {
lv_shieldsToAdd = (CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "LucioSoundBarrierShieldApply", "Count", lv_casterPlayer) * CatalogFieldValueGetAsFixed(c_gameCatalogBehavior, "LucioSoundBarrierShield", "DamageResponse.ModifyLimit", lv_casterPlayer));
}
mods/heromods/lucio.stormmod — base.stormdata/LibHLUC.galaxy:654
lv_casterPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
if ((EventPlayerEffectUsed() == "LucioSoundwaveGoodVibrationsApplyShieldBehaviorHero")) {
lv_shieldsToAdd = (CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "LucioSoundwaveGoodVibrationsApplyShieldBehaviorHero", "Count", lv_casterPlayer) * CatalogFieldValueGetAsFixed(c_gameCatalogBehavior, "LucioSoundwaveGoodVibrationsShield", "DamageResponse.ModifyLimit", lv_casterPlayer));
}
mods/heromods/medivh.stormmod — base.stormdata/LibHMDV.galaxy:909
// Variable Initialization
lv_triggeringEffect = EventPlayerEffectUsed();
lv_target = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
mods/heromods/probius.stormmod — base.stormdata/LibHPRO.galaxy:280
// Automatic Variable Declarations
// Variable Initialization
lv_effect = EventPlayerEffectUsed();
// Conditions
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:2791
TriggerEnable(TriggerGetCurrent(), false);
if ((EventPlayerEffectUsed() == "HealthDispenserLife500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_artanis, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:2794
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_artanis, 0.0, 100.0, 0.0);
}
else if ((EventPlayerEffectUsed() == "HealthDispenserEnergy500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Energy_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_artanis, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:2306
TriggerEnable(TriggerGetCurrent(), false);
if ((EventPlayerEffectUsed() == "HealthDispenserLife500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_zeratul, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:2309
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_zeratul, 0.0, 100.0, 0.0);
}
else if ((EventPlayerEffectUsed() == "HealthDispenserEnergy500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Energy_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_zeratul, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:2190
TriggerEnable(TriggerGetCurrent(), false);
if ((EventPlayerEffectUsed() == "HealthDispenserLife500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_nova, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:2193
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_nova, 0.0, 100.0, 0.0);
}
else if ((EventPlayerEffectUsed() == "HealthDispenserEnergy500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Energy_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_nova, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2map — MapScript.galaxy:2791
TriggerEnable(TriggerGetCurrent(), false);
if ((EventPlayerEffectUsed() == "HealthDispenserLife500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_artanis, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2map — MapScript.galaxy:2794
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_artanis, 0.0, 100.0, 0.0);
}
else if ((EventPlayerEffectUsed() == "HealthDispenserEnergy500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Energy_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_artanis, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:2306
TriggerEnable(TriggerGetCurrent(), false);
if ((EventPlayerEffectUsed() == "HealthDispenserLife500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_zeratul, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:2309
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_zeratul, 0.0, 100.0, 0.0);
}
else if ((EventPlayerEffectUsed() == "HealthDispenserEnergy500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Energy_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_zeratul, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:2190
TriggerEnable(TriggerGetCurrent(), false);
if ((EventPlayerEffectUsed() == "HealthDispenserLife500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_nova, 0.0, 100.0, 0.0);
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:2193
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Health_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_nova, 0.0, 100.0, 0.0);
}
else if ((EventPlayerEffectUsed() == "HealthDispenserEnergy500")) {
SoundPlayOnUnitForPlayer(SoundLink("HeroNovaMP1_Energy_Pickup", -1), c_maxPlayers, PlayerGroupAll(), gv_nova, 0.0, 100.0, 0.0);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:14610
}
if ((EventPlayerEffectUsed() == "CommanderPrestigeRaynorAirTriggerAdd")) {
UnitGroupAdd(libCOMI_gv_cM_PrestigeRaynor_AirUnits, EventPlayerEffectUsedUnit(c_effectUnitCaster));
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:18430
}
if ((EventPlayerEffectUsed() == "SOASummonFenixHeroSummonSelfCleanupDummy")) {
libCOMI_gf_CM_Fenix_VitalMatch(EventPlayerEffectUsedUnit(c_effectUnitTarget));
DialogControlSetVisible(libCOUI_gv_cU_GPCmdButtonActiveImage[1][lv_player], PlayerGroupSingle(lv_player), false);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:22215
}
if ((EventPlayerEffectUsed() == "MedivacMengskSiegeTankAirliftLoadTrigger")) {
UnitBehaviorAdd(lv_medivac, "MedivacMengskSiegeTankAirlift", lv_medivac, 1);
libCOMI_gf_SetUnitAttributePoints("MedivacMengskSiegeTankAirliftLevel", lv_medivac, (UnitXPGetCurrentLevel(lv_siegetank, null) - 1));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:23746
DialogControlSetAnimationState(libCOUI_gv_cU_GPPanel[EventPlayer()], PlayerGroupSingle(EventPlayer()), "ReminderStetzones", "NoReminder");
lv_upgradeCount = TechTreeUpgradeCount(EventPlayer(), "MasteryStetmannStetzoneBonuses", c_techCountCompleteOnly);
autoB7D5952C_val = EventPlayerEffectUsed();
if (autoB7D5952C_val == "PowerFieldEnergyRegenerationOn") {
autoA1FB51CE_g = libCOOC_gf_CommanderPlayers();
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:23836
libCOMI_gf_SetUnitAttributePoints("BanelingStetmannBonusDamage", lv_baneling, RoundI(lv_energy));
auto698BF1AA_val = EventPlayerEffectUsed();
if (auto698BF1AA_val == "BanelingStetmannExplodeAbilityBonusDamageTrigger") {
UnitCreateEffectUnit(lv_baneling, "BanelingDeathExplodeLargeSetStetmann", lv_target);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:25178
lv_heroType = EventPlayerEffectUsedUnitType(c_effectUnitCaster);
lv_heroReviveType = (CatalogFieldValueGet(c_gameCatalogUnit, lv_heroType, "ReviveType", c_playerAny));
lv_event = (EventPlayerEffectUsed());
// Conditions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:25228
// Variable Initialization
lv_structure = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_event = (EventPlayerEffectUsed());
// Conditions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:28773
// Variable Initialization
lv_minerals = CatalogFieldValueGetAsInt(c_gameCatalogEffect, EventPlayerEffectUsed(), "Resources[Minerals]", c_playerAny);
lv_gas = CatalogFieldValueGetAsInt(c_gameCatalogEffect, EventPlayerEffectUsed(), "Resources[Vespene]", c_playerAny);
lv_itPickupPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:28774
// Variable Initialization
lv_minerals = CatalogFieldValueGetAsInt(c_gameCatalogEffect, EventPlayerEffectUsed(), "Resources[Minerals]", c_playerAny);
lv_gas = CatalogFieldValueGetAsInt(c_gameCatalogEffect, EventPlayerEffectUsed(), "Resources[Vespene]", c_playerAny);
lv_itPickupPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:8035
}
libCOOC_gv_cC_ScoreTychusMarauderHeal[UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster))] += (UnitGetPropertyFixed(EventPlayerEffectUsedUnit(c_effectUnitTarget), c_unitPropLifeMax, c_unitPropCurrent) * libNtve_gf_CatalogFieldValueGetAsReal(c_gameCatalogEffect, EventPlayerEffectUsed(), "VitalArray[" + IntToString(0) + "].ChangeFraction", UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster))));
PlayerScoreValueSetFromInt(UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster)), "TychusMarauderHeal", FixedToInt(libCOOC_gv_cC_ScoreTychusMarauderHeal[UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster))]));
return true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:8187
}
libCOOC_gv_cC_ScoreTychusMedicHeal[UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster))] += libNtve_gf_CatalogFieldValueGetAsReal(c_gameCatalogEffect, EventPlayerEffectUsed(), "VitalArray[" + IntToString(0) + "].Change", UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster)));
PlayerScoreValueSetFromInt(UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster)), "TychusMedicHeal", FixedToInt(libCOOC_gv_cC_ScoreTychusMedicHeal[UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster))]));
return true;
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:3790
// Variable Initialization
lv_triggeringeffect = EventPlayerEffectUsed();
// Actions