I would guess that you want the floating window to simulate "modal" behavior by pauing in an infinite loop.
In your “Sys_TimerUISecondTrigger” script, include halt script as the final step and I think it will close your window for you.
Well, let me describe more detail.1. I have a modal window which has OK button. The window will be closed when user click the OK button. OK button scrip has a halt scrip. It works when user click OK button.2. I attach OnTimer script when the modal window is created.3. When the OnTimer script is trigged I will close the window and halt the script.4. But, looks like the OnTimer script is not trigged. Fyi, I have Show Custom Dialog message and it never shows up.5. I disable the endless loop on the Window setup script and the On Timer script works.
Does install OnTimer have to install this timer on the new window? Could it install it on the original "parent" window instead? (This depends on whether you only need one timer or not.)
Hmmm, just ran a test. the pause does seem to keep all timers from working.
You might try this approach:
Go to Layout [ “TimeInternvalUI” (GlobalParameter) ]
Pause/Resume Script [ 1 second ]
Thanks. It works. I can ue timer to unload the modal window.