Can somebody remind me what the function is to get the value of a timer as a variable?
Thanks.
Thu Feb 24, 2011 2:15 am
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
Re: Timer Value
Code:
-timer.LeftTillSimMS(0)
That works, since it returns how long until a time is reached. If that time is 0, it'll always be a negative value, so you just get its negative.
Thu Feb 24, 2011 2:28 am
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
Re: Timer Value
Mine is assuming you already have a timer stored in a variable called "timer". I figured the question was how to get the time from a timer, not how to initialize it in the first place. Your answer would be part of this, too.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum