Est ce que vous pourriez m'aidez a traduire ce trigger GUI car c'est un des seul que j'ai pas réussi
.
function Trig_Round_7_explain_Conditions takes nothing returns boolean
if ( not ( Player(11) != GetOwningPlayer(GetTriggerUnit()) ) ) then
return false
endif
if ( not ( udg_Round == 7 ) ) then
return false
endif
return true
endfunction
function Trig_Round_7_explain_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call AddSpecialEffectTargetUnitBJ( "overhead", gg_unit_ngad_0010, "Abilities\\Spells\\Items\\AItb\\AItbTarget.mdl" )
call TriggerSleepAction( 1.00 )
call PlaySoundBJ( gg_snd_MSG )
call DisableTrigger( gg_trg_T1_spawn )
call DisableTrigger( gg_trg_T2_spawn )
call DisableTrigger( gg_trg_T3_spawn )
call DisableTrigger( gg_trg_T4_spawn )
call DisableTrigger( gg_trg_T5_spawn )
call DisableTrigger( gg_trg_T6_spawn )
call DisableTrigger( gg_trg_T7_spawn )
call DisableTrigger( gg_trg_T8_spawn )
call DisplayTimedTextToForce( GetPlayersAll(), 15.00, "TRIGSTR_300" )
call CreateTimerDialogBJ( udg_Timer, "TRIGSTR_301" )
call StartTimerBJ( udg_Timer, false, 300.00 )
call TriggerSleepAction( 15.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 40.00, "TRIGSTR_355" )
call PlayMusicBJ( gg_snd_Doom )
endfunction
function InitTrig_Round_7_explain takes nothing returns nothing
set gg_trg_Round_7_explain = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Round_7_explain, gg_rct_Communication )
call TriggerAddCondition( gg_trg_Round_7_explain, Condition( function Trig_Round_7_explain_Conditions ) )
call TriggerAddAction( gg_trg_Round_7_explain, function Trig_Round_7_explain_Actions )
endfunction