playMaker

Author Topic: request more information on action co routine [SOLVED]  (Read 4236 times)

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
request more information on action co routine [SOLVED]
« on: October 14, 2013, 05:59:52 PM »
Is there a video showing how to correctly use this action?

Within my fist game using playmaker When killed you should be invincible for a short time, however I do not know how to correctly set up a co-routine.

With the information I should be able to eliminate this issue.


« Last Edit: October 16, 2013, 10:22:32 AM by Alex Chouls »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: request more information on action co routine
« Reply #1 on: October 16, 2013, 03:04:54 AM »
Hi,

 This action is only suppose to call a function on a monoBehavior as  coroutine. I think however you want to do it another way, cause I don't think you have your function as a monobehavior method right?

 within PlayMaker, everything is a coroutine! :) within state, you run actions, when you are done with them, one way or the other, an event if fired and the state transits to another state, that's how you stop the "co routine", The concurrency between two features can be done within the same states, as actions can run different things, OR have several Fsm working for the same feature at the same time and reacting to the same global event to start and stop.

 I hope this make sense. In short, don't over thingk this, "Co routine" is a no brainer in Playmaker :)

Bye,

 Jean

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
Re: request more information on action co routine
« Reply #2 on: October 16, 2013, 07:54:59 AM »
Thankyou for your time and helpful explaination.

Sorry for any confusion on my part I am new!

Solved

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: request more information on action co routine [SOLVED]
« Reply #3 on: October 17, 2013, 01:13:56 AM »
Hi,

 Don't worry. It's always good to ask this kind of questions.

Bye,

 Jean