Good day!
I try to Create Trigger in middle of game but it does not work(
I use global variable and function not in librarry (function of action). But it does not helf.
How can i create a new trigger in the middle of game?
My code:
And MyMessage didn't start =(
I try to Create Trigger in middle of game but it does not work(
I use global variable and function not in librarry (function of action). But it does not helf.
How can i create a new trigger in the middle of game?
My code:
Code:
udg_t[1] = CreateTrigger()
TriggerRegisterPlayerSelectionEventBJ( udg_t[1], p, true)
//TriggerRegisterAnyUnitEventBJ( udg_t[1], EVENT_PLAYER_UNIT_ISSUED_ORDER )
TriggerAddAction( udg_t[1], function MyMessage)
And MyMessage didn't start =(