Read all timers?

ScriptGames
16 Jul 2019, 15:19

Hello.

Does anyone know how to read all timers (even the ones you created directly in the code)?

Best regards
Sven
ScriptGames


hegemonkhan
16 Jul 2019, 22:45

Not sure if you can, as the 'Timer' Element isn't an Object/OBJECT (see below), if you can, you might have to dig into the internal coding, and find out where and how the 'Timer' Elements are handled.


I believe that the 'Command' Element and/or the 'Turnscript' Element are actually Objects/OBJECTS, so you can 'foreach' through all of them, as you can use an Object List to hold them, though I think there's already built-in stuff for doing this stuff for them.


ScriptGames
18 Jul 2019, 14:00

Hmm. Too bad. The only elements missing from the Developer sidebar.