playMaker

Author Topic: I need a timer, what do you suggest ? [SOLVED]  (Read 1981 times)

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
I need a timer, what do you suggest ? [SOLVED]
« on: March 18, 2014, 03:07:39 PM »
Hi all,

I need to destroy an object after a specific time.
I am not sure what action i should use.

What kind of timer should i use ? i would like it to calculate "how many time since object is spawned" , make a simple comparaison, and then destroy it.

I took a look at "get time info" action, but i am not sure this is the good action for me.


Any clue ? :)


« Last Edit: March 18, 2014, 03:17:10 PM by vonpopov »

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: I need a timer, what do you suggest ?
« Reply #1 on: March 18, 2014, 03:13:10 PM »

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
Re: I need a timer, what do you suggest ?
« Reply #2 on: March 18, 2014, 03:16:41 PM »
Use this action
https://hutonggames.fogbugz.com/default.asp?W234

i used "get time since startup" and it worked, but "wait" seems way simple for my purpose ! (1 action vs 2 actions + variable float)

Great !

Thanks you.