I'm looking to make a progression bar in a dialog that progresses real-time according to the progress of an upgrade. The thing is, the way I use it, it would be too complicated to make an event that does something like, say, every 0.5 or 0.2 seconds, set progress to current progress of upgrade or so.
Would there be an alternative to doing that?
I'd realy appreciate any help, because it's in a rather important point of my current stage of the mpa and I can't work on things when I have problems in mind :P
So how does the upgrade need to progress exactly? Does it need to be able to leap forwards (and backwards?) or just run in a smooth linear fashion from 0 to 100 (or something)?
Why can't you use a periodic trigger to update it?
Does this limitation also prevent you form doing something like, create a dummy unit, link it's health to the progress bar and damage it?
No matter how awckward this is and how stupid it makes me feel, while typing actualy why I couldn't use a periodic event to do this made me realise that by making one for each upgrade would actualy allow me to do this! xD thanks for making me think! :)
I'm looking to make a progression bar in a dialog that progresses real-time according to the progress of an upgrade. The thing is, the way I use it, it would be too complicated to make an event that does something like, say, every 0.5 or 0.2 seconds, set progress to current progress of upgrade or so.
Would there be an alternative to doing that?
I'd realy appreciate any help, because it's in a rather important point of my current stage of the mpa and I can't work on things when I have problems in mind :P
So how does the upgrade need to progress exactly? Does it need to be able to leap forwards (and backwards?) or just run in a smooth linear fashion from 0 to 100 (or something)?
Why can't you use a periodic trigger to update it?
Does this limitation also prevent you form doing something like, create a dummy unit, link it's health to the progress bar and damage it?
No matter how awckward this is and how stupid it makes me feel, while typing actualy why I couldn't use a periodic event to do this made me realise that by making one for each upgrade would actualy allow me to do this! xD thanks for making me think! :)
Any time. :)