Jump to content
Miguel Preguisa

[Help needed] Is input from Time Trigger a normal number?

Recommended Posts

EDIT: My "unsolvable issue" was caused by me trying to get a better time than 0.0 seconds on a track ? Changed zero to 100.000 and everything works as intended ?

 

Here is a snip from a script I'm putting together. But I hit a problem that I can't seem to solve :S 

image.thumb.png.938c16d47644590446e9c59a776c6dab.png

This IF [ IF - ELSE ] seems to be stuck on the second IF

It works if I delete the whole

IF (GET TOTAL ELAPSED TIME Time trigger #01:NameoftheTT < variable)

I think it could be because the Editor maybe doesn't see the Time Trigger output as a standard number and it's unable to compare its output (seconds in 00.000 format) to a 0 (starting variable value I've set in Global Storage on the game start). I found this on the Ylands wiki but it seems to be an obsolete piece of script that no longer exists :/ 

Any help appreciated!

Edited by Miguel Preguisa
dummy edit

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×