I have a question, as described in thread title; how do you show timer windows (or specific game UI items) after hiding game UI? The forum's search function has yielded little but the 'show/hide UI frame' function, which doesn't seem to contain anything related to timer windows. The only other method I can think of is making a custom timer window through dialogs... but obviously, I'd take a simpler method if one exists.
InitTimerEventsGame-MapinitializationLocalVariablesConditionsActionsDialog-CreateaModaldialogofsize(450,100)at(0,50)relativetoTopRightofscreenDialog-Createalabelfordialog(Lastcreateddialog)withthedimensions(125,50)anchoredtoLeftwithanoffsetof(50,0)withthetext""colorsettoWhitetextwriteoutsettofalsewithawriteoutdurationof2.0Variable-SetTimerValueText=(Lastcreateddialogitem)Dialog-Show(Lastcreateddialog)for(Allplayers)Trigger-RunResetTimer(CheckConditions,Don't Wait until it finishes)
UpdateTimerEventsTimer-Every1.0secondsofGameTimeLocalVariablesConditionsActionsVariable-ModifyTimerValue:-1General-If(Conditions)thendo(Actions)elsedo(Actions)IfTimerValue<=0ThenTrigger-RunOnTimerExpire(CheckConditions,Don't Wait until it finishes)Trigger-RunResetTimer(CheckConditions,Don't Wait until it finishes)ElseDialog-SetTimerValueTexttextto(Text(TimerValueseconds)usingStandard(hh:mm:ss)format)for(Allplayers)
I have a question, as described in thread title; how do you show timer windows (or specific game UI items) after hiding game UI? The forum's search function has yielded little but the 'show/hide UI frame' function, which doesn't seem to contain anything related to timer windows. The only other method I can think of is making a custom timer window through dialogs... but obviously, I'd take a simpler method if one exists.
Thanks in advance.
Try turning on cinematic mode instead. I think that keeps the UI elements intact but just hides the Command Bars.
Writing your own timers using dialogs is actually pretty easy and flexible.
The setup:
Init Timer:
Reset Timer:
Update Timer:
@Pfaeff: Go
thx man, i wrote my own timer. It works without game UI.