I have a clock script that counts from 30 seconds, 45 seconds, 1 minute to zero and then animates off. It works fine for the 30 & 45 second options but for the 1 minute it does not animate off. Any ideas? Thanks in advance for the help.
Shotski
sub OnExecPerField()
dim TestDir as Director
TestDir = Stage.FindDirector("TestDir")
dim t as double = System.SendCommand("CLOCK1*TIME GET")
if t = 0.0 then TestDir.ContinueAnimation()
end Sub
Shotski
sub OnExecPerField()
dim TestDir as Director
TestDir = Stage.FindDirector("TestDir")
dim t as double = System.SendCommand("CLOCK1*TIME GET")
if t = 0.0 then TestDir.ContinueAnimation()
end Sub
Comment