playMaker

Author Topic: Action for looping an event X number of times  (Read 1755 times)

lukew

  • Playmaker Newbie
  • *
  • Posts: 42
Action for looping an event X number of times
« on: October 13, 2014, 08:17:18 AM »
Im sure that there was an action for this but I cant find it now.

I was able to set a number of times that the event should be send and after the varialbe came to 0, the action was sending another event. It was helpful for repeating a part of a FSM few times.

Any idea where this action is? Or maybe I'm totally wrong?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Action for looping an event X number of times
« Reply #1 on: October 13, 2014, 08:31:41 AM »
I usually just have a variable for the count, compare it to zero and inside the loop subtract 1 from it. When it reaches zero the loop is not run. I don't know of a single action way to do that.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D