Start a new topic
Answered

I want to get the time since it loaded on STYLY.

I would like to put the number of seconds since the game object was loaded into a variable, how do I do this?


Best Answer

Using PlayMaker's int Add action and wait action, you can pseudo-count the number of seconds by adding a number to a variable one second at a time. You can also use the float interpolate action to change the variable by a specified number of seconds, so you can implement a gimmick where an event fires when the variable reaches a certain number.




1 Comment

Answer

Using PlayMaker's int Add action and wait action, you can pseudo-count the number of seconds by adding a number to a variable one second at a time. You can also use the float interpolate action to change the variable by a specified number of seconds, so you can implement a gimmick where an event fires when the variable reaches a certain number.




Login or Signup to post a comment