Name | Type | is_array | initial_value |
DB_Angle | real | Yes | |
DB_Angle_Increment | real | Yes | |
DB_Angle_Reached | real | Yes | |
DB_Anim | real | Yes | |
DB_Anim_Integer | integer | Yes | |
DB_Anim_Reached | real | Yes | |
DB_AoE | real | Yes | |
DB_AoE_Trees | real | Yes | |
DB_Arc | real | Yes | |
DB_Attack_Type | attacktype | Yes | |
DB_Boolean1 | boolean | Yes | |
DB_Boolean2 | boolean | Yes | |
DB_Boolean3 | boolean | Yes | |
DB_Caster | unit | Yes | |
DB_Count | integer | Yes | |
DB_Count_Reached | integer | Yes | |
DB_Damage | real | Yes | |
DB_Damage_Interval | real | Yes | |
DB_Damage_Interval_Reached | real | Yes | |
DB_Damage_Type | damagetype | Yes | |
DB_Distance | real | Yes | |
DB_Distance_Loc1 | location | Yes | |
DB_Distance_Loc2 | location | No | |
DB_Distance_Reached | real | Yes | |
DB_Effect | effect | Yes | |
DB_Facing | real | Yes | |
DB_Facing_Angle | real | No | |
DB_Group | group | Yes | |
DB_Index | integer | Yes | |
DB_Index_maxSize | integer | No | |
DB_Index_Size | integer | No | |
DB_Location1 | location | No | |
DB_Location2 | location | No | |
DB_Loop | integer | No | |
DB_Sfx1 | string | Yes | |
DB_Sfx2 | string | Yes | |
DB_Sfx3 | string | Yes | |
DB_Speed | real | Yes | |
DB_TempInt | integer | No | |
DB_TempLoc1 | location | No | |
DB_TempLoc2 | location | No | |
DB_TempLoc3 | location | No | |
DB_TempLoc4 | location | No | |
DB_TreeDetection_Dummy | unit | No | |
DB_TreeDetection_Loc | location | No | |
DoNotCopy_Angles | real | Yes | |
DoNotCopy_Loop | integer | No | |
DoNotCopy_Positions | location | Yes | |
DoNotCopy_Revive_Time | integer | No | |
DoNotCopy_Types | unitcode | Yes |
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