What happens when a trigger has no event? Does it do it as map init or once that game starts?
If a trigger doesn't have event in the trigger window, it doesn't necessarily mean it has no event - the event for that trigger may be add in another trigger via Trigger - Add new event action.
You're technically right in a sense, but the way you said it is confusing as hell.. XD
//\\^^//\\
If a trigger doesn't have event in the trigger window, it doesn't necessarily mean it has no event - the event for that trigger may be add in another trigger via Trigger - Add new event action.
function Trig_Melee_Initialization_Actions takes nothing returns nothing
call MeleeStartingVisibility( )
call MeleeStartingHeroLimit( )
call MeleeGrantHeroItems( )
call MeleeStartingResources( )
call MeleeClearExcessUnits( )
call MeleeStartingUnits( )
call MeleeStartingAI( )
call MeleeInitVictoryDefeat( )
endfunction
//===========================================================================
function InitTrig_Melee_Initialization takes nothing returns nothing
set gg_trg_Melee_Initialization = CreateTrigger( )
call TriggerAddAction( gg_trg_Melee_Initialization, function Trig_Melee_Initialization_Actions )
endfunction
call TriggerRegisterGameStateEventTimeOfDay( function_name, EQUAL, 12 )
call TriggerRegisterGameLoadedEventBJ( function_name )
call TriggerRegisterGameEvent( function_name, EVENT_GAME_TOURNAMENT_FINISH_NOW )
Simple as nothing. So many explanations.
^ He just wants to ask whether a trigger with no event runs automatically.
Just say no.
But triggers with no events can also run with the help of other trigger when they are forcefully run with
- Trigger - Run *Trigger name*
Please read carefully, you just wrote the very same thing I did.What the..? If a trigger does not have an event in the trigger window, then it really has no event at all unless you add in another trigger using the Add New Event.
Please read carefully, you just wrote the very same thing I did.
half the ppl are writing the same thing its kinda funny lol
Yeah... it's just not here in this thread but in other threads in other forums too; some people just want to be part of the Rep reward I guess.
Well, when I post I didnt expect that death has posted my answer already. I have no knowledge of that death posted already the answer that I am gonna answer.
Read all posts b4 u post. Otherwise there is no point in posting. Unless it was just because u didn't refresh that happens quite a bit
Thx for the help!