September 5, 200421 yr I need to know, in XML, how long the starter is active, in seconds.In other wordssomething like: (A:General eng1 starter, bool) if{ (P:absolute tme,seconds) (>L:secs,number) } But this gives me, as you guys know, weird and wonderful numbers . What I really need is to know how long the starter has been active, store that value in seconds, and then reset that value to zero when the starter is not active.Any Hints?Steve
September 5, 200421 yr Far easier to setup your own XML var counter, and then create a countdown. The timing of this will be dependent on the gauge update choosen, and framerate.Alternatively, you could get the actual time for the FS vars and use that to "time" your starter.
September 5, 200421 yr Hi Steve,maybe this can help,, not tested (A:General eng1 starter, bool) if{ (P:absolute tme,seconds) (L:secs_start,number) - (>L:secs,number) } els{ (P:absolute time,seconds) (>L:secs_start,number) 0 (>L:secs,number) }From past posts it looking like your doing hot starts and starter fails ??? COOL!Regards,Roman(KGRB)http://home.new.rr.com/spokes2112/images/Image2.gif FS RTWR SHRS F-111 JoinFS Little Navmap
September 5, 200421 yr Thanks for the suggestions guys. I chose the easy way out: (A:General eng1 starter, bool) if{ (L:Timestart,enum) 1 + (>L:Timestart,enum) } els{ 0 (>L:Timestart,enum) } Works like a charm :-))Steve
September 6, 200421 yr Oh, ok. Now I see what you were going for. I knew it had something to do with the start procedure, but I was thinking you were timing something else.Yeah, once you got Update, easy enough.
Create an account or sign in to comment