SRL Archive - News and General

Timers and SMART


hiyoal

2012-05-18 16:30:50

Hey guys,

Just wondering whether the TTimers work in Simba and SMART. Been having a bit of trouble trying to put a paint into a script.

Im using the method used here:
http://villavu.com/forum/showthread.php?t=51578

In the CMD Window I get the response:

From: Hiyoal

Executing InitForm
Executing InitTimer


Yet the function specified with
thread1.OnTimer := @Function
is never run. Ive even tried putting debug Writeln(); into the OnTimer Function and it is never displayed in the CMD.

Any help?

bg5

2012-05-18 16:52:21

TTimers are broken in Simba and most likely will crash your script.

hiyoal

2012-05-18 16:58:08

Is there any alternative that I could use?

masterBB

2012-05-18 17:44:51

I heard something about TMayaTimer from Daniel, but that was never added. Maybe something in the future?