# Triggering Behavior
Grammar — Triggering behavior
Flags —Native
|Function
Returns the triggering behavior. Used in response to “Unit Attribute Change”, “Unit Gains Experience”, or “Unit Gains Experience Level”.
Returns — string
<gamelink::Behavior>
native string EventUnitBehavior();
# Supported triggers
- Unit Gains Experience — TriggerAddEventUnitGainExperience
- Unit Gains Experience Level — TriggerAddEventUnitGainLevel
- Unit Attribute Change — TriggerAddEventUnitAttributeChange
- Unit Behavior Changes — TriggerAddEventUnitBehaviorChange
- Unit Absorbs Damage — TriggerAddEventUnitDamageAbsorbed
# Related
Category: Behavior / Basic
- Remove Behaviors By Category —
void
— UnitBehaviorRemoveCategory - Remove Behavior (Player) —
void
— UnitBehaviorRemovePlayer - Remove Behavior —
void
— UnitBehaviorRemove - Add Behavior (Player) —
void
— UnitBehaviorAddPlayer - Add Behavior —
void
— UnitBehaviorAdd - Set Behavior Count —
void
— libNtve_gf_SetBehaviorCount - Number Of Behaviors On Unit —
int
— UnitBehaviorCountAll - Unit Behavior —
string
<gamelink::Behavior> — UnitBehaviorGet - Unit Has Behavior —
bool
— UnitHasBehavior2 - Unit Has Behavior (Enabled) —
bool
— UnitHasBehavior - Unit Behavior Enabled —
bool
— UnitBehaviorEnabled - Stack Count Of Behavior On Unit —
int
— UnitBehaviorCount - Behavior Has Flag —
bool
— UnitBehaviorHasFlag - Transfer Behavior —
void
— UnitBehaviorTransfer - Set Unit Behavior Duration —
void
— UnitBehaviorSetDuration - Set Unit Behavior Duration Remaining —
void
— UnitBehaviorSetDurationRemaining - Duration Remaining Of Behavior On Unit —
fixed
— UnitBehaviorDuration - Duration Of Behavior On Unit —
fixed
— UnitBehaviorDurationTotal - Set Unit Behavior Spawn Count —
void
— UnitBehaviorSpawn - Unit Behavior Effect Player —
int
— UnitBehaviorEffectPlayer - Unit Behavior Effect Unit —
unit
— UnitBehaviorEffectUnit - Set Unit Behavior User Data —
void
— UnitBehaviorEffectTreeSetUserData - User Data Of Behavior On Unit —
fixed
— UnitBehaviorEffectTreeUserData - User Data Of Behavior On Unit Exists —
bool
— UnitBehaviorEffectTreeUserDataExists - Unit Behavior Changes —
void
— TriggerAddEventUnitBehaviorChange - Unit Behavior Changes From Category —
void
— TriggerAddEventUnitBehaviorChangeFromCategory - Triggering Behavior —
string
<gamelink::Behavior> — EventUnitBehavior - Triggering Behavior Change —
int
<preset::BehaviorChange> — EventUnitBehaviorChange - Unit Behavior Damage Modify Remaining —
fixed
— UnitBehaviorDamageModifyRemaining - Unit Behavior Damage Modify Limit —
fixed
— UnitBehaviorDamageModifyLimit - For Each Behavior On Unit — macro
# Examples
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4585
if ((EventUnitBehaviorChange() == c_unitBehaviorChangeActivate)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_SuperCloakOverlay.StormCutscene", EventUnitBehavior());
}
else {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4588
}
else {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(lv_player, "Cutscenes\\GameUI_SuperCloakOverlay.StormCutscene", EventUnitBehavior());
}
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:6827
if ((UnitHasBehavior2(lv_webbedUnit, "HeroGenericIgnoreFullscreenOverlay") == false) && (UnitIsAlive(lv_webbedUnit) == true) && (UnitTestState(lv_webbedUnit, c_unitStateHallucination) == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_webbedUnit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_WebBlastOverlay.StormCutscene", EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:6857
if ((UnitHasBehavior2(lv_webbedUnit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(UnitGetOwner(lv_webbedUnit), "Cutscenes\\GameUI_WebBlastOverlay.StormCutscene", EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:7720
}
lv_butcherPlayer = UnitBehaviorEffectPlayer(lv_unit, EventUnitBehavior(), c_effectPlayerCaster, 0);
lv_target = lv_unit;
lv_butcherPlayer = UnitGetOwner(UnitBehaviorEffectUnit(lv_unit, "RuthlessOnslaughtTarget", c_effectUnitCaster, 0));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:9160
// Automatic Variable Declarations
// Variable Initialization
lv_behavior = EventUnitBehavior();
lv_unit = EventUnit();
lv_player = UnitGetOwner(lv_unit);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:9608
// Variable Initialization
lv_unit = EventUnit();
lv_behavior = EventUnitBehavior();
// Conditions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:9771
CameraSetData(PlayerGroupSingle(lv_player), "BlizzardAllStars");
while ((UnitHasBehavior2(EventUnit(), EventUnitBehavior()) == true)) {
Wait(0.0625, c_timeGame);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:10926
if ((UnitIsAlive(lv_unit) == true) && (UnitTestState(lv_unit, c_unitStateHallucination) == false) && (UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:10950
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:14257
}
libGame_gf_CCRecognitionCCReduction(EventUnit(), EventUnitBehavior());
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:14299
}
libGame_gf_CCRecognitionCCReduction(lv_blindedUnit, EventUnitBehavior());
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:14320
// Variable Initialization
lv_unit = EventUnit();
lv_behavior = EventUnitBehavior();
// Conditions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:14365
// Variable Initialization
lv_unit = EventUnit();
lv_behavior = EventUnitBehavior();
// Conditions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:14427
lv_tauntedUnit = EventUnit();
lv_tauntedPlayer = UnitGetOwner(lv_tauntedUnit);
lv_tauntBehavior = EventUnitBehavior();
lv_casterUnit = UnitBehaviorEffectUnit(lv_tauntedUnit, lv_tauntBehavior, c_effectUnitCaster, 0);
lv_tauntedUnitHasBasicAttackAbility = UnitAbilityExists(lv_tauntedUnit, "attack");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:14491
// Variable Initialization
lv_unit = EventUnit();
lv_behavior = EventUnitBehavior();
// Conditions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:14516
lv_horizOffset = RandomFixed(-0.4, -0.6);
if ((EventUnit() == libGame_gv_players[UnitGetOwner(EventUnit())].lv_heroUnit)) {
libUIUI_gf_FullscreenOverlaysCreateCCEffectFlashForPlayer(UnitGetOwner(EventUnit()), UnitBehaviorDuration(EventUnit(), EventUnitBehavior()));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:15300
}
lv_caster = UnitBehaviorEffectPlayer(lv_triggeringUnit, EventUnitBehavior(), c_effectPlayerCaster, 0);
if (((lv_caster <= 0) || (lv_caster > libCore_gv_bALMaxPlayers))) {
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:15305
}
lv_duration = UnitBehaviorDurationTotal(lv_triggeringUnit, EventUnitBehavior());
libGame_gf_AddtoAwardValue(lv_caster, lv_duration, libGame_ge_SecondaryAwards_Silencer);
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:15331
// Automatic Variable Declarations
// Variable Initialization
lv_casterPlayer = UnitBehaviorEffectPlayer(EventUnit(), EventUnitBehavior(), c_effectPlayerCaster, 0);
lv_damageAbsorbed = EventUnitDamageAbsorbed();
lv_casterUnit = UnitBehaviorEffectUnit(lv_shieldedUnit, EventUnitBehavior(), c_effectUnitCaster, 0);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11669
// Variable Initialization
lv_vOGroup = PlayerGroupEmpty();
lv_shieldBehavior = EventUnitBehavior();
// Conditions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:12759
}
if (!((CatalogFieldValueGetAsInt(c_gameCatalogBehavior, EventUnitBehavior(), "BehaviorCategories[Restorable]", c_playerAny) == 1))) {
return false;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:12775
}
if ((CatalogFieldValueGetAsInt(c_gameCatalogBehavior, EventUnitBehavior(), "DisplayPriority", c_playerAny) >= 1000)) {
libUIUI_gf_HeroConsoleUnitStatusBarsSetChannelBehaviorForBehaviorChannelBarRight(lv_player, EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:12776
if ((CatalogFieldValueGetAsInt(c_gameCatalogBehavior, EventUnitBehavior(), "DisplayPriority", c_playerAny) >= 1000)) {
libUIUI_gf_HeroConsoleUnitStatusBarsSetChannelBehaviorForBehaviorChannelBarRight(lv_player, EventUnitBehavior());
}
else {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:12779
}
else {
libUIUI_gf_HeroConsoleUnitStatusBarsSetChannelBehaviorForBehaviorChannelBar(lv_player, EventUnitBehavior());
}
return true;
mods/heroesmapmods/battlegroundmapmods/volskayadata.stormmod — base.stormdata/LibVolV.galaxy:231
// Automatic Variable Declarations
// Variable Initialization
lv_triggeringBehavior = EventUnitBehavior();
lv_pilotUnit = EventUnit();
mods/heromods/alarak.stormmod — base.stormdata/LibHALA.galaxy:528
UnitCreateEffectUnit(lv_unit, "AlarakSadismRiteofRakShirMarkerDummy", lv_unit);
if ((libHALA_gv_heroAlarakRiteofRakShirActivelyTransferring[UnitBehaviorEffectPlayer(lv_unit, "AlarakSadismRiteofRakShirTalentDebuff", c_effectPlayerCaster, 0)] == false)) {
UnitCreateEffectUnit(UnitBehaviorEffectUnit(EventUnit(), EventUnitBehavior(), c_effectUnitCaster, 0), "OneOffDamageRevealSourceApplyRevealer", lv_unit);
}
else {
mods/heromods/alexstrasza.stormmod — base.stormdata/LibHALE.galaxy:154
if ((UnitHasBehavior2(lv_alexstrasza, "AlexstraszaDragonqueen") == true)) {
Wait(0.3, c_timeGame);
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_AlexstraszaOverlay.StormCutscene", EventUnitBehavior());
}
else {
mods/heromods/alexstrasza.stormmod — base.stormdata/LibHALE.galaxy:157
}
else {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_AlexstraszaOverlay.StormCutscene", EventUnitBehavior());
}
return true;
mods/heromods/alexstrasza.stormmod — base.stormdata/LibHALE.galaxy:188
Wait(2.0, c_timeGame);
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(lv_player, "Cutscenes\\GameUI_AlexstraszaOverlay.StormCutscene", EventUnitBehavior());
return true;
}
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:150
// Automatic Variable Declarations
// Variable Initialization
lv_sleepBehavior = EventUnitBehavior();
lv_sleepUnit = EventUnit();
lv_sleepPlayer = UnitGetOwner(lv_sleepUnit);
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:202
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Invulnerable, "Cutscenes\\GameUI_AnaNanoBoostOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:226
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_AnaNanoBoostOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:525
if ((UnitIsAlive(lv_anaUnit) == true) && (UnitTestState(lv_anaUnit, c_unitStateHallucination) == false) && (UnitTypeTestAttribute(UnitGetType(lv_anaUnit), c_unitAttributeHeroic) == true) && (UnitHasBehavior2(lv_anaUnit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_AnaEyeOfHorus.StormCutscene", EventUnitBehavior());
}
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:549
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_AnaEyeOfHorus.StormCutscene", EventUnitBehavior());
}
mods/heromods/anduin.stormmod — base.stormdata/LibHAND.galaxy:79
}
libGame_gf_PlayerHeroDisplacementCameraLock(EventUnit(), EventUnitBehavior());
return true;
}
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:822
if ((UnitIsAlive(EventUnit()) == true) && (UnitTestState(EventUnit(), c_unitStateHallucination) == false) && (UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false) && (UnitHasBehavior2(EventUnit(), "AurielCrystalAegisStasisBehavior") == true)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
else {
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:825
}
else {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
return true;
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:715
if ((UnitIsAlive(EventUnit()) == true) && (UnitTestState(EventUnit(), c_unitStateHallucination) == false) && (UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:739
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:1989
// Variable Initialization
lv_unit = EventUnit();
lv_behavior = EventUnitBehavior();
// Conditions
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:2028
// Variable Initialization
lv_unit = EventUnit();
lv_behavior = EventUnitBehavior();
// Conditions
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:2332
}
UnitBehaviorAdd(libGDHL_gv_chogallPairs[lv_choGallPairsTeam].lv_gallUnit, EventUnitBehavior(), UnitBehaviorEffectUnit(EventUnit(), EventUnitBehavior(), c_effectUnitCaster, 0), 1);
return true;
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:2332
}
UnitBehaviorAdd(libGDHL_gv_chogallPairs[lv_choGallPairsTeam].lv_gallUnit, EventUnitBehavior(), UnitBehaviorEffectUnit(EventUnit(), EventUnitBehavior(), c_effectUnitCaster, 0), 1);
return true;
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:2373
}
UnitBehaviorRemove(libGDHL_gv_chogallPairs[lv_choGallPairsTeam].lv_gallUnit, EventUnitBehavior(), 1);
return true;
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:2398
// Conditions
if (testConds) {
if (!((EventUnitBehavior() != "ChoTalentMoltenBlock"))) {
return false;
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:2402
}
if (!((EventUnitBehavior() != "UsingVehicle"))) {
return false;
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:2421
if ((EventUnitBehaviorChange() == c_unitBehaviorChangeCreate)) {
UnitBehaviorAdd(libGDHL_gv_chogallPairs[lv_choGallPairsTeam].lv_gallUnit, "GallForwardedStasis", UnitBehaviorEffectUnit(libGDHL_gv_chogallPairs[lv_choGallPairsTeam].lv_choUnit, EventUnitBehavior(), c_effectUnitCaster, 0), 1);
}
mods/heromods/chromie.stormmod — base.stormdata/LibHCHR.galaxy:94
if ((UnitIsAlive(lv_unit) == true) && (UnitTestState(lv_unit, c_unitStateHallucination) == false) && (UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/chromie.stormmod — base.stormdata/LibHCHR.galaxy:126
if ((UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(lv_player, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/chromie.stormmod — base.stormdata/LibHCHR.galaxy:279
if ((UnitIsAlive(lv_unit) == true) && (UnitTestState(lv_unit, c_unitStateHallucination) == false) && (UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_unit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/chromie.stormmod — base.stormdata/LibHCHR.galaxy:309
if ((UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(UnitGetOwner(lv_unit), "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:211
if ((UnitIsAlive(lv_unit) == true) && (UnitTestState(lv_unit, c_unitStateHallucination) == false) && (UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_unit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_DehakaBurrowOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:241
if ((UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(UnitGetOwner(lv_unit), "Cutscenes\\GameUI_DehakaBurrowOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:1014
}
libGame_gf_PlayerHeroDisplacementCameraLock(EventUnit(), EventUnitBehavior());
return true;
}
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:558
// Conditions
if (testConds) {
if (!((UnitGetType(UnitBehaviorEffectUnit(EventUnit(), EventUnitBehavior(), c_effectUnitTarget, 0)) == "HeroDVaPilot"))) {
return false;
}
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:568
}
lv_dVaPlayer = UnitGetOwner(UnitBehaviorEffectUnit(EventUnit(), EventUnitBehavior(), c_effectUnitTarget, 0));
lv_aurielUnit = UnitBehaviorEffectUnit(EventUnit(), EventUnitBehavior(), c_effectUnitCaster, 0);
Wait(0.0625, c_timeGame);
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:569
lv_dVaPlayer = UnitGetOwner(UnitBehaviorEffectUnit(EventUnit(), EventUnitBehavior(), c_effectUnitTarget, 0));
lv_aurielUnit = UnitBehaviorEffectUnit(EventUnit(), EventUnitBehavior(), c_effectUnitCaster, 0);
Wait(0.0625, c_timeGame);
UnitCreateEffectUnit(lv_aurielUnit, "AurielResurrectLightSpeedApplyControllerBehavior", libAIAI_gv_aIHeroes[lv_dVaPlayer].lv_currentHeroUnit);
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:1707
}
UnitBehaviorAdd(UnitTransport(lv_dVaPilot), EventUnitBehavior(), lv_dVaPilot, 1);
return true;
}
mods/heromods/garrosh.stormmod — base.stormdata/LibHGAR.galaxy:130
}
libGame_gf_PlayerHeroDisplacementCameraLock(lv_targetUnit, EventUnitBehavior());
return true;
}
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:124
}
libGame_gf_PlayerHeroDisplacementCameraLock(EventUnit(), EventUnitBehavior());
lv_itPlayer = 1;
for ( ; ( (auto17613DD0_ai >= 0 && lv_itPlayer <= auto17613DD0_ae) || (auto17613DD0_ai < 0 && lv_itPlayer >= auto17613DD0_ae) ) ; lv_itPlayer += auto17613DD0_ai ) {
mods/heromods/imperius.stormmod — base.stormdata/LibHIMP.galaxy:241
}
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_wrathOfTheAngirisPlayer, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_ImperiusOverlay.StormCutscene", EventUnitBehavior());
return true;
}
mods/heromods/imperius.stormmod — base.stormdata/LibHIMP.galaxy:272
Wait(0.125, c_timeGame);
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(lv_wrathOfTheAngirisPlayer, "Cutscenes\\GameUI_ImperiusOverlay.StormCutscene", EventUnitBehavior());
return true;
}
mods/heromods/junkrat.stormmod — base.stormdata/LibHJUN.galaxy:360
}
libGame_gf_PlayerHeroDisplacementCameraLock(EventUnit(), EventUnitBehavior());
return true;
}
mods/heromods/kelthuzad.stormmod — base.stormdata/LibHKEL.galaxy:178
// Automatic Variable Declarations
// Variable Initialization
lv_chainBehavior = EventUnitBehavior();
lv_casterUnit = EventUnitBehaviorCasterUnit();
lv_targetUnit = EventUnit();
mods/heromods/maiev.stormmod — base.stormdata/LibHMAI.galaxy:140
}
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_unit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
return true;
}
mods/heromods/maiev.stormmod — base.stormdata/LibHMAI.galaxy:174
}
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(UnitGetOwner(lv_unit), "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
return true;
}
mods/heromods/malganis.stormmod — base.stormdata/LibHMLG.galaxy:97
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Invulnerable, "Cutscenes\\GameUI_MalGanisBlindOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/malganis.stormmod — base.stormdata/LibHMLG.galaxy:121
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_MalGanisBlindOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/medivh.stormmod — base.stormdata/LibHMDV.galaxy:400
if ((UnitIsAlive(lv_unit) == true) && (UnitTestState(lv_unit, c_unitStateHallucination) == false) && (UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_unit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/medivh.stormmod — base.stormdata/LibHMDV.galaxy:430
if ((UnitHasBehavior2(lv_unit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(UnitGetOwner(lv_unit), "Cutscenes\\GameUI_StasisOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/medivh.stormmod — base.stormdata/LibHMDV.galaxy:694
lv_shieldedUnit = lv_unit;
lv_ownerofShieldedUnit = UnitGetOwner(lv_shieldedUnit);
lv_caster = UnitBehaviorEffectUnit(lv_shieldedUnit, EventUnitBehavior(), c_effectUnitCaster, 0);
libHMDV_gv_medivhForceofWillCaster[UnitGetOwner(lv_shieldedUnit)] = lv_caster;
libHMDV_gv_medivhForceofWillCasterOwner[UnitGetOwner(lv_shieldedUnit)] = UnitGetOwner(lv_caster);
mods/heromods/medivh.stormmod — base.stormdata/LibHMDV.galaxy:762
Wait(0.0625, c_timeGame);
}
UnitBehaviorRemove(EventUnit(), EventUnitBehavior(), 1);
return true;
}
mods/heromods/stukov.stormmod — base.stormdata/LibHSTU.galaxy:184
}
libGame_gf_PlayerHeroDisplacementCameraLock(EventUnit(), EventUnitBehavior());
return true;
}
mods/heromods/thefirelords.stormmod — base.stormdata/LibHMaj.galaxy:449
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayStopandClearCutsceneQueueForPlayer(EventPlayer());
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_RagnarosSummonOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/thefirelords.stormmod — base.stormdata/LibHMaj.galaxy:473
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_RagnarosSummonOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/thefirelords.stormmod — base.stormdata/LibHMaj.galaxy:640
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_RagnarosSubmergeOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/thefirelords.stormmod — base.stormdata/LibHMaj.galaxy:664
if ((UnitHasBehavior2(EventUnit(), "HeroGenericIgnoreFullscreenOverlay") == false)) {
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_RagnarosSubmergeOverlay.StormCutscene", EventUnitBehavior());
}
mods/heromods/yrel.stormmod — base.stormdata/LibHYRL.galaxy:629
}
libUIUI_gf_FullscreenOverlayAddItemForPlayer(EventPlayer(), libUIUI_ge_FullscreenOverlayPriorities_Invulnerable, "Cutscenes\\GameUI_InvulnerableOverlay.StormCutscene", EventUnitBehavior());
return true;
}
mods/heromods/yrel.stormmod — base.stormdata/LibHYRL.galaxy:657
}
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(EventPlayer(), "Cutscenes\\GameUI_InvulnerableOverlay.StormCutscene", EventUnitBehavior());
return true;
}
mods/heromods/zarya.stormmod — base.stormdata/LibHZAR.galaxy:384
lv_shieldedUnit = EventUnit();
if ((EventUnitBehaviorChange() == c_unitBehaviorChangeActivate)) {
lv_caster = UnitBehaviorEffectUnit(lv_shieldedUnit, EventUnitBehavior(), c_effectUnitCaster, 0);
libHZAR_gv_heroZaryaShieldCasterOwner[UnitGetOwner(lv_shieldedUnit)] = UnitGetOwner(lv_caster);
}
mods/heromods/zarya.stormmod — base.stormdata/LibHZAR.galaxy:388
}
else if ((EventUnitBehaviorChange() == c_unitBehaviorChangeRefresh)) {
lv_caster = UnitBehaviorEffectUnit(lv_shieldedUnit, EventUnitBehavior(), c_effectUnitCaster, 0);
lv_ownerofShielded = UnitGetOwner(lv_shieldedUnit);
libHZAR_gv_heroZaryaShieldCasterOwner[lv_ownerofShielded] = UnitGetOwner(lv_caster);
mods/heromods/zarya.stormmod — base.stormdata/LibHZAR.galaxy:595
if (((lv_localTriggeringUnit == libGame_gv_players[lv_localTriggeringPlayer].lv_heroUnit) || (lv_localTriggeringUnit == libGame_gv_players[lv_localTriggeringPlayer].lv_activeVehicle))) {
libGame_gf_PlayerHeroDisplacementCameraLock(lv_localTriggeringUnit, EventUnitBehavior());
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_localTriggeringPlayer, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_StasisOverlay.StormCutscene", "ZaryaGravitonSurgePull");
}
mods/heromods/zarya.stormmod — base.stormdata/LibHZAR.galaxy:698
lv_localShieldedUnit = EventUnit();
lv_localShieldedPlayer = UnitGetOwner(lv_localShieldedUnit);
lv_zaryaPlayer = UnitGetOwner(UnitBehaviorEffectUnit(lv_localShieldedUnit, EventUnitBehavior(), c_effectUnitCaster, 0));
// Conditions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:13972
// Variable Initialization
lv_unit = EventUnit();
lv_behavior = EventUnitBehavior();
lv_group = UnitGroupEmpty();
lv_groupA = UnitConjoinedGroup(lv_unit, "GreaterNydusWormConjoined");
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:14111
// Automatic Variable Declarations
// Variable Initialization
lv_buff = EventUnitBehavior();
lv_unit = EventUnit();
lv_scale = StringToFixed(CatalogFieldValueGet(c_gameCatalogBehavior, lv_buff, "Modification.RateMultiplierArray[" + IntToString(0) + "]", UnitBehaviorEffectPlayer(lv_unit, lv_buff, c_effectPlayerCaster, 0)));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:14150
// Automatic Variable Declarations
// Variable Initialization
lv_buff = EventUnitBehavior();
lv_unit = EventUnit();
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15050
// Variable Initialization
lv_mindcontrolunit = EventUnit();
lv_mindcontrolbehavior = EventUnitBehavior();
// Actions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:16369
}
UnitBehaviorAdd(lv_u, EventUnitBehavior(), lv_u, 1);
return true;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:16610
// Variable Initialization
lv_u = EventUnit();
lv_behavior = EventUnitBehavior();
// Actions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:18102
// Conditions
if (testConds) {
if (!((TechTreeUpgradeCount(UnitBehaviorEffectPlayer(EventUnit(), EventUnitBehavior(), c_effectPlayerCaster, 0), "FenixSentryNullShieldReflect", c_techCountCompleteOnly) == 1))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:22949
// Automatic Variable Declarations
// Variable Initialization
lv_p = UnitBehaviorEffectPlayer(EventUnit(), EventUnitBehavior(), c_effectPlayerCaster, 0);
lv_pg = PlayerGroupSingle(lv_p);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:23050
// Automatic Variable Declarations
// Variable Initialization
lv_p = UnitBehaviorEffectPlayer(EventUnit(), EventUnitBehavior(), c_effectPlayerCaster, 0);
// Actions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:23077
// Automatic Variable Declarations
// Variable Initialization
lv_p = UnitBehaviorEffectPlayer(EventUnit(), EventUnitBehavior(), c_effectPlayerCaster, 0);
// Actions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:9549
}
if (!((EventUnitBehavior() == "StetmannStetelliteChargesUsed"))) {
return false;
}