Name | Type | is_array | initial_value |
Omnilash | integer | No | |
Omnilash_Caster | unit | No | |
Omnilash_Target | unit | No |
function Trig_Message_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAll(), 120.00, "TRIGSTR_027" )
endfunction
//===========================================================================
function InitTrig_Message takes nothing returns nothing
set gg_trg_Message = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Message, 1.00 )
call TriggerAddAction( gg_trg_Message, function Trig_Message_Actions )
endfunction
function Trig_Information_Actions takes nothing returns nothing
call CreateQuestBJ( bj_QUESTTYPE_REQ_DISCOVERED, "TRIGSTR_028", "TRIGSTR_029", "ReplaceableTextures\\CommandButtons\\BTNSelectHeroOff.blp" )
call CreateQuestBJ( bj_QUESTTYPE_REQ_DISCOVERED, "TRIGSTR_030", "TRIGSTR_031", "ReplaceableTextures\\CommandButtons\\BTNSlow.blp" )
call CreateQuestBJ( bj_QUESTTYPE_OPT_DISCOVERED, "TRIGSTR_032", "TRIGSTR_033", "ReplaceableTextures\\CommandButtons\\BTNINV_Weapon_ShortBlade_03.blp" )
endfunction
//===========================================================================
function InitTrig_Information takes nothing returns nothing
set gg_trg_Information = CreateTrigger( )
call TriggerAddAction( gg_trg_Information, function Trig_Information_Actions )
endfunction
function Trig_Recreate_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetDyingUnit()) == Player(1) ) ) then
return false
endif
return true
endfunction
function Trig_Recreate_Actions takes nothing returns nothing
call TriggerSleepAction( 10.00 )
call CreateNUnitsAtLoc( 1, GetUnitTypeId(GetDyingUnit()), Player(1), GetUnitLoc(GetDyingUnit()), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Recreate takes nothing returns nothing
set gg_trg_Recreate = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Recreate, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Recreate, Condition( function Trig_Recreate_Conditions ) )
call TriggerAddAction( gg_trg_Recreate, function Trig_Recreate_Actions )
endfunction
function Trig_Omnilash_Setting_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A000' ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Setting_Actions takes nothing returns nothing
set udg_Omnilash_Caster = GetSpellAbilityUnit()
set udg_Omnilash_Target = GetSpellTargetUnit()
set udg_Omnilash = ( GetHeroStatBJ(bj_HEROSTAT_AGI, udg_Omnilash_Caster, true) * 2 )
call TriggerExecute( gg_trg_Omnilash_Special_Effect )
call ConditionalTriggerExecute( gg_trg_Omnilash_Run )
endfunction
//===========================================================================
function InitTrig_Omnilash_Setting takes nothing returns nothing
set gg_trg_Omnilash_Setting = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Omnilash_Setting, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Omnilash_Setting, Condition( function Trig_Omnilash_Setting_Conditions ) )
call TriggerAddAction( gg_trg_Omnilash_Setting, function Trig_Omnilash_Setting_Actions )
endfunction
function Trig_Omnilash_Run_Func001Func006C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func001Func013C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func001C takes nothing returns boolean
if ( not ( GetUnitAbilityLevelSwapped('A000', udg_Omnilash_Caster) == 1 ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func002Func006C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func002Func013C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func002Func020C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func002Func027C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func002C takes nothing returns boolean
if ( not ( GetUnitAbilityLevelSwapped('A000', udg_Omnilash_Caster) == 2 ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func003Func006C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func003Func013C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func003Func020C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func003Func027C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func003Func034C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func003Func041C takes nothing returns boolean
if ( not ( IsUnitDeadBJ(udg_Omnilash_Target) == true ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Func003C takes nothing returns boolean
if ( not ( GetUnitAbilityLevelSwapped('A000', udg_Omnilash_Caster) == 3 ) ) then
return false
endif
return true
endfunction
function Trig_Omnilash_Run_Actions takes nothing returns nothing
if ( Trig_Omnilash_Run_Func001C() ) then
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func001Func006C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack - 2" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func001Func013C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack Slam" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
call TriggerExecute( gg_trg_Omnilash_End )
else
endif
if ( Trig_Omnilash_Run_Func002C() ) then
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func002Func006C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func002Func013C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack - 2" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func002Func020C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack - 2" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func002Func027C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack Slam" )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
call TriggerExecute( gg_trg_Omnilash_End )
else
endif
if ( Trig_Omnilash_Run_Func003C() ) then
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func003Func006C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func003Func013C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack " )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func003Func020C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack - 2" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func003Func027C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack - 2" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func003Func034C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack - 2" )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
if ( Trig_Omnilash_Run_Func003Func041C() ) then
call ConditionalTriggerExecute( gg_trg_Omnilash_End )
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.50 )
call SetUnitAnimation( udg_Omnilash_Caster, "Attack Slam" )
call SetUnitPositionLoc( udg_Omnilash_Caster, PolarProjectionBJ(GetUnitLoc(udg_Omnilash_Target), 125.00, GetRandomDirectionDeg()) )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Caster), "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl" )
call UnitDamageTargetBJ( udg_Omnilash_Caster, udg_Omnilash_Target, I2R(udg_Omnilash), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL )
call AddSpecialEffectLocBJ( GetUnitLoc(udg_Omnilash_Target), "Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl" )
call TriggerExecute( gg_trg_Omnilash_End )
else
endif
endfunction
//===========================================================================
function InitTrig_Omnilash_Run takes nothing returns nothing
set gg_trg_Omnilash_Run = CreateTrigger( )
call DisableTrigger( gg_trg_Omnilash_Run )
call TriggerAddAction( gg_trg_Omnilash_Run, function Trig_Omnilash_Run_Actions )
endfunction
function Trig_Omnilash_Special_Effect_Actions takes nothing returns nothing
call SetUnitTimeScalePercent( udg_Omnilash_Caster, 150.00 )
call SetUnitVertexColorBJ( udg_Omnilash_Caster, 100, 100, 100, 70.00 )
call SetUnitInvulnerable( udg_Omnilash_Caster, true )
call SelectUnitRemoveForPlayer( udg_Omnilash_Caster, GetOwningPlayer(udg_Omnilash_Caster) )
endfunction
//===========================================================================
function InitTrig_Omnilash_Special_Effect takes nothing returns nothing
set gg_trg_Omnilash_Special_Effect = CreateTrigger( )
call DisableTrigger( gg_trg_Omnilash_Special_Effect )
call TriggerAddAction( gg_trg_Omnilash_Special_Effect, function Trig_Omnilash_Special_Effect_Actions )
endfunction
function Trig_Omnilash_End_Actions takes nothing returns nothing
call ResetUnitAnimation( udg_Omnilash_Caster )
call SetUnitVertexColorBJ( udg_Omnilash_Caster, 100, 100, 100, 0 )
call SetUnitTimeScalePercent( udg_Omnilash_Caster, 100 )
call SetUnitInvulnerable( udg_Omnilash_Caster, false )
call SelectUnitForPlayerSingle( udg_Omnilash_Caster, GetOwningPlayer(udg_Omnilash_Caster) )
endfunction
//===========================================================================
function InitTrig_Omnilash_End takes nothing returns nothing
set gg_trg_Omnilash_End = CreateTrigger( )
call DisableTrigger( gg_trg_Omnilash_End )
call TriggerAddAction( gg_trg_Omnilash_End, function Trig_Omnilash_End_Actions )
endfunction