Name | Type | is_array | initial_value |
BCPoint | location | No | |
BlastGroup | group | No | |
Bomber | unit | Yes | |
BombGroup | group | No | |
BTPoint | location | No | |
BuilderIndex | integer | Yes | |
Centre | rect | No | |
CornerRect | rect | Yes | |
FireGroup | group | No | |
LeaderBoard | leaderboard | No | |
PlayerColors | string | Yes | |
PlayerCount | integer | No | |
PlayerNames | string | Yes | |
Players | force | No | |
ReviveChat | string | Yes | |
Score | integer | Yes | |
TempGroup | group | No | |
TempInteger | integer | No | |
TempPoint | location | No | |
TempPoint2 | location | No | |
TempReal | real | No | |
TempUnit | unit | No | |
TickGroup | group | No | |
TreasureType | unitcode | Yes | |
WispGroup | group | No |
function Trig_Regen_Destructibles_Actions takes nothing returns nothing
local destructable TREE = GetDyingDestructable()
call TriggerSleepAction( 15.00 )
call DestructableRestoreLife( TREE, GetDestructableMaxLife(TREE), true )
set TREE = null
endfunction
//===========================================================================
function InitTrig_Regen_Destructibles takes nothing returns nothing
set gg_trg_Regen_Destructibles = CreateTrigger( )
call TriggerAddAction( gg_trg_Regen_Destructibles, function Trig_Regen_Destructibles_Actions )
endfunction