Name | Type | is_array | initial_value |
Accelerate | real | Yes | |
BugDistance | real | No | |
Cam | integer | Yes | -1 |
Car | unit | Yes | |
Continue | integer | No | 100 |
DRIVE | group | No | |
GO | boolean | No | |
HeroOnPath | boolean | No | |
HeroPosition | location | Yes | |
Issued | real | Yes | |
Laps | integer | Yes | |
LEVEL | integer | No | 1 |
Num | integer | Yes | |
PathTerrain | terraintype | No | |
Point | location | Yes | |
Points | integer | Yes | |
RECORD | timer | Yes | |
Region | rect | No | |
RegionFace | rect | No | |
RegionLaps | rect | No | |
Speed | real | Yes | 0.00 |
Sr1 | effect | Yes | |
Sr2 | effect | Yes | |
Turn | real | Yes | |
TurnBoost | integer | Yes | |
Units | group | No |
function Trig_DH_Locust_Func001A takes nothing returns nothing
call UnitAddAbilityBJ( 'Aloc', GetEnumUnit() )
call ShowUnitHide( GetEnumUnit() )
call ShowUnitShow( GetEnumUnit() )
call UnitRemoveAbilityBJ( 'Aloc', GetEnumUnit() )
call SetUnitInvulnerable( GetEnumUnit(), false )
endfunction
function Trig_DH_Locust_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsOfTypeIdAll('Hpal'), function Trig_DH_Locust_Func001A )
endfunction
//===========================================================================
function InitTrig_DH_Locust takes nothing returns nothing
set gg_trg_DH_Locust = CreateTrigger( )
call TriggerAddAction( gg_trg_DH_Locust, function Trig_DH_Locust_Actions )
endfunction
function Trig_Locust_Func001002 takes nothing returns nothing
call UnitAddAbilityBJ( 'Aloc', GetEnumUnit() )
endfunction
function Trig_Locust_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAll(Player(11)), function Trig_Locust_Func001002 )
endfunction
//===========================================================================
function InitTrig_Locust takes nothing returns nothing
set gg_trg_Locust = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Locust, 0.01 )
call TriggerAddAction( gg_trg_Locust, function Trig_Locust_Actions )
endfunction