Name | Type | is_array | initial_value |
ChanceArray | real | Yes | |
Factor_max | integer | No | |
Factor_min | integer | No | |
Order | string | Yes | |
Random_Spell | abilcode | Yes | |
Random_spell_Count | integer | No | |
Random_Value | integer | No | |
Random_Value2 | integer | No | |
TempPoint | location | No |
function Trig_You_dont_need_it_Actions takes nothing returns nothing
call CreateFogModifierRectBJ( true, Player(0), FOG_OF_WAR_VISIBLE, GetPlayableMapRect() )
call SelectUnitForPlayerSingle( gg_unit_Hblm_0001, Player(0) )
set udg_TempPoint = GetUnitLoc(gg_unit_Hblm_0001)
call PanCameraToTimedLocForPlayer( Player(0), udg_TempPoint, 0 )
call RemoveLocation(udg_TempPoint)
endfunction
//===========================================================================
function InitTrig_You_dont_need_it takes nothing returns nothing
set gg_trg_You_dont_need_it = CreateTrigger( )
call TriggerAddAction( gg_trg_You_dont_need_it, function Trig_You_dont_need_it_Actions )
endfunction
function Trig_info_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAll(), 15.00, "TRIGSTR_035" )
endfunction
//===========================================================================
function InitTrig_info takes nothing returns nothing
set gg_trg_info = CreateTrigger( )
call TriggerAddAction( gg_trg_info, function Trig_info_Actions )
endfunction
function Trig_restore_Actions takes nothing returns nothing
call SetUnitLifePercentBJ( gg_unit_Hblm_0001, 100 )
endfunction
//===========================================================================
function InitTrig_restore takes nothing returns nothing
set gg_trg_restore = CreateTrigger( )
call TriggerRegisterPlayerEventEndCinematic( gg_trg_restore, Player(0) )
call TriggerAddAction( gg_trg_restore, function Trig_restore_Actions )
endfunction