hey btw i see thread here Editing Melee AI Difficulty with triggers (this is not about custom AI)
but i use simple check if it really become insane. but the trigger doesnt firedoes it really become insane?
but i use simple check if it really become insane. but the trigger doesnt fire
[TRIGGER] function Trig_Untitled_Trigger_001_Conditions takes nothing returns boolean if ( not ( GetAIDifficulty(Player(1)) == AI_DIFFICULTY_INSANE ) ) then return false endif return true endfunction function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_011" ) endfunction //=========================================================================== function InitTrig_Untitled_Trigger_001 takes nothing returns nothing set gg_trg_Untitled_Trigger_001 = CreateTrigger( ) call TriggerRegisterTimerEventSingle( gg_trg_Untitled_Trigger_001, 5 ) call TriggerAddCondition( gg_trg_Untitled_Trigger_001, Condition( function Trig_Untitled_Trigger_001_Conditions ) ) call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions ) endfunction [/TRIGGER]