playMaker

Author Topic: Countdown X seconds and Perform action Y in Playmaker  (Read 1601 times)

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Countdown X seconds and Perform action Y in Playmaker
« on: March 23, 2014, 12:26:03 PM »
How to configure Playmaker,
Scenario:
"Game run for 10 seconds and it counting down secs-by-secs.
Once it reaches 0, display a Playmaker log "you lose" (trigger in another state)

Thanks for the helps.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Countdown X seconds and Perform action Y in Playmaker
« Reply #1 on: March 23, 2014, 12:47:26 PM »
You can just use the Wait action on a fresh FSM, then send a transition event from it to another state that uses a GUI text label action or something to show the text. It's a fairly simple task, just managing a "I haven't lost yet" state, then transitioning to the "I've lost" state when the Wait action is done.

Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D