Name | Type | is_array | initial_value |
DoNotCopy_Angles | real | Yes | |
DoNotCopy_Loop | integer | No | |
DoNotCopy_Positions | location | Yes | |
DoNotCopy_Revive_Time | integer | No | |
DoNotCopy_Types | unitcode | Yes | |
Leap_Angle | real | No | |
Leap_Anim | real | No | |
Leap_Anim_Integer | integer | No | |
Leap_Anim_Reached | real | Yes | |
Leap_Attack_Type | attacktype | No | |
Leap_Boolean | boolean | Yes | |
Leap_Caster | unit | Yes | |
Leap_Caster_Loc | location | No | |
Leap_Damage | real | Yes | |
Leap_Damage_AoE | real | Yes | |
Leap_Damage_Group | group | No | |
Leap_Damage_Type | damagetype | No | |
Leap_Effect | string | Yes | |
Leap_Height | real | No | |
Leap_Height_Reached | real | Yes | |
Leap_Index | integer | Yes | |
Leap_Index_Max | integer | No | |
Leap_Index_Reached | integer | No | |
Leap_Index_Temp | integer | No | |
Leap_Loc | location | No | |
Leap_Loop | integer | No | |
Leap_Pos | location | No | |
Leap_Range | real | Yes | |
Leap_Range_Base | real | No | |
Leap_Range_Factor | real | No | |
Leap_Range_Half | real | Yes | |
Leap_Range_Reached | real | Yes | |
Leap_Sfx | effect | Yes | |
Leap_Speed | real | No |
function Trig_Revive_Creeps_Actions takes nothing returns nothing
local integer CUSTOM
set CUSTOM = GetUnitUserData(GetDyingUnit())
call TriggerSleepAction( udg_DoNotCopy_Revive_Time )
call CreateNUnitsAtLoc( 1, udg_DoNotCopy_Types[CUSTOM], Player(PLAYER_NEUTRAL_AGGRESSIVE), udg_DoNotCopy_Positions[CUSTOM], udg_DoNotCopy_Angles[CUSTOM] )
call SetUnitUserData( GetLastCreatedUnit(), CUSTOM )
endfunction
//===========================================================================
function InitTrig_DoNotCopy_3 takes nothing returns nothing
set gg_trg_DoNotCopy_3 = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_DoNotCopy_3, Player(PLAYER_NEUTRAL_AGGRESSIVE), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddAction( gg_trg_DoNotCopy_3, function Trig_Revive_Creeps_Actions )
endfunction