Name | Type | is_array | initial_value |
dfafasdfasdfadf | dialog | No |
function Trig_Mele_Actions takes nothing returns nothing
call SetForceAllianceStateBJ( GetPlayersAll(), GetPlayersAll(), bj_ALLIANCE_ALLIED )
call SetForceAllianceStateBJ( GetPlayersAll(), bj_FORCE_PLAYER[PLAYER_NEUTRAL_AGGRESSIVE], bj_ALLIANCE_UNALLIED )
call SetForceAllianceStateBJ( bj_FORCE_PLAYER[PLAYER_NEUTRAL_AGGRESSIVE], GetPlayersAll(), bj_ALLIANCE_UNALLIED )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_039" )
endfunction
//===========================================================================
function InitTrig_Mele takes nothing returns nothing
set gg_trg_Mele = CreateTrigger( )
call TriggerAddAction( gg_trg_Mele, function Trig_Mele_Actions )
endfunction
function Trig_T_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetDyingUnit()) == 'nskg' ) ) then
return false
endif
return true
endfunction
function Trig_T_Actions takes nothing returns nothing
call TriggerSleepAction( 1.00 )
call CreateNUnitsAtLoc( 1, 'nskg', GetOwningPlayer(GetDyingUnit()), GetUnitLoc(GetDyingUnit()), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_T takes nothing returns nothing
set gg_trg_T = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_T, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_T, Condition( function Trig_T_Conditions ) )
call TriggerAddAction( gg_trg_T, function Trig_T_Actions )
endfunction
function Trig_CLEAR_Func004002 takes nothing returns nothing
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, GetEnumPlayer(), 0 )
endfunction
function Trig_CLEAR_Func006002 takes nothing returns nothing
call CameraSetEQNoiseForPlayer( GetEnumPlayer(), 10.00 )
endfunction
function Trig_CLEAR_Func008002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_CLEAR_Func010002 takes nothing returns nothing
call CameraClearNoiseForPlayer( GetEnumPlayer() )
endfunction
function Trig_CLEAR_Func014002 takes nothing returns nothing
call DialogDisplayBJ( true, udg_dfafasdfasdfadf, GetEnumPlayer() )
endfunction
function Trig_CLEAR_Actions takes nothing returns nothing
call FogEnableOff( )
call FogMaskEnableOff( )
call CinematicModeBJ( true, GetPlayersAll() )
call ForForce( GetPlayersAll(), function Trig_CLEAR_Func004002 )
call TriggerSleepAction( 0.20 )
call ForForce( GetPlayersAll(), function Trig_CLEAR_Func006002 )
call TriggerSleepAction( 1.00 )
call ForGroupBJ( GetUnitsInRectOfPlayer(GetPlayableMapRect(), Player(PLAYER_NEUTRAL_AGGRESSIVE)), function Trig_CLEAR_Func008002 )
call TriggerSleepAction( 1.20 )
call ForForce( GetPlayersAll(), function Trig_CLEAR_Func010002 )
call CinematicModeBJ( false, GetPlayersAll() )
call DialogAddQuitButton( udg_dfafasdfasdfadf, false, "Dissconect", 56 )
call DialogSetMessageBJ( udg_dfafasdfasdfadf, "TRIGSTR_038" )
call ForForce( GetPlayersAll(), function Trig_CLEAR_Func014002 )
endfunction
//===========================================================================
function InitTrig_CLEAR takes nothing returns nothing
set gg_trg_CLEAR = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_CLEAR, gg_unit_U001_0125, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_CLEAR, function Trig_CLEAR_Actions )
endfunction