playMaker

Author Topic: [SOLVED] Time counter using FSM?  (Read 2049 times)

ryf9059

  • Full Member
  • ***
  • Posts: 100
[SOLVED] Time counter using FSM?
« on: June 09, 2013, 11:48:31 AM »
Any idea how should I use a FSM to create a internal counter? Says I want to trigger some event after cetain amount of time.
« Last Edit: June 09, 2013, 03:28:58 PM by ryf9059 »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Time counter using FSM?
« Reply #1 on: June 09, 2013, 12:32:14 PM »
Check out the Get Time Info action:
https://hutonggames.fogbugz.com/default.asp?W496

You can store the time info you need in a variable, then use Float Compare to trigger an event.