A dialog does not automatically update when variables are changed. So you have to set the title again with the updated variable. Store the dialog in a global variable and then in your "Timer - Elapsed 10 seconds" trigger, use "Dialog - set title of MyVariableDialog to (etc.)"
Hi, I have been trying without success =/, can you see whats wrong with my triggers?
TRIGGER 1
Event
Game- Map iniziliation
Condtion
Action
Dialog - Create a modal dialog of size etc.
dialog - show last created dialog.
Dialog - Set title of last created dialog to ("DAY" + (Text(Day). (Here I just convert intergen to text, and I used my intergen variable.)
___________________________
TRIGGER 2
Event
Timer - Elapsed time is 10 game time seconds.
Condition
Action
Variable - Modify variable day : + (Day+1).
.
So m first trigger works fine, it display with no problem<sub> but my second trigger wont uppdate it =/</sub>
A dialog does not automatically update when variables are changed. So you have to set the title again with the updated variable. Store the dialog in a global variable and then in your "Timer - Elapsed 10 seconds" trigger, use "Dialog - set title of MyVariableDialog to (etc.)"
@DeltaV: Go
Ah, thank you. Well it is counting up once, then no more =/
@Bennyha1: Go
You want it to keep counting?
If so you must change your TRIGGER 2...
Change your event:
"Timer - Elapsed time is 10 game time seconds." to
"Periodic Event", "Timer - Every 10 seconds of game time"
ah, now it works nice, thank you