Access timeout count
Posted: Tue May 26, 2020 3:11 pm
I'm building a custom bubble menu dialogue, and trying to achieve an effect that when it reaches toward the timeout, the bubble will start fading out gradually.
In dialogue manager, the custom timeout has been set to a global timeout duration
In dialogue editor, sometime a dialog will have a specified timeout by setting the sequence SetTimeout(x)
I need to write a script to keep track the timer from StandardUITimer and do something before x seconds when it reaches to the timeout.
My current approach is to write a subclass for the StandardUITimer and override the UpdateTimeLeft method
is this a correct way to do the custom effects for the timeout duration period? (but I'm not acutally using the timer slider UI, in order to make it work I have to assign the slider and hide it)
and how do I get global timeout duration and the current menu sequence SetTimeout value from it?
tks
In dialogue manager, the custom timeout has been set to a global timeout duration
In dialogue editor, sometime a dialog will have a specified timeout by setting the sequence SetTimeout(x)
I need to write a script to keep track the timer from StandardUITimer and do something before x seconds when it reaches to the timeout.
My current approach is to write a subclass for the StandardUITimer and override the UpdateTimeLeft method
is this a correct way to do the custom effects for the timeout duration period? (but I'm not acutally using the timer slider UI, in order to make it work I have to assign the slider and hide it)
and how do I get global timeout duration and the current menu sequence SetTimeout value from it?
tks