playMaker

Author Topic: Execute events in sequential order  (Read 1217 times)

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Execute events in sequential order
« on: June 15, 2016, 06:04:29 PM »
I have a FSM and i would like to trigger "ReduceHP" and it calls up "HideHearts" then "ShowHearts".

But what i understand here, it could cause confusion to playmaker as it might go to HideHearts before ShowHearts event finish processing. Am i right to say that?

And i dont want to use the 'delay' option. How to make the process flow/function call in order? ReduceHP > HideHearts > ShowHearts?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Execute events in sequential order
« Reply #1 on: June 15, 2016, 06:41:59 PM »
Hi,
you are sending 2 global transitions @ the same time in the same fsm
that will not work

Does HideHearts need to finish before HideHearts then maybe you better link them with normal transition

f they need to run @ the same time you have to place them in different fsm's