playMaker

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

colpolstudios

  • Full Member
  • ***
  • Posts: 241
    • View Profile
request more information on action co routine [SOLVED]
« on: October 14, 2013, 02: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, 07:22:32 AM by Alex Chouls »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15338
  • Official Playmaker Support
    • View Profile
Re: request more information on action co routine
« Reply #1 on: October 16, 2013, 12: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

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: request more information on action co routine
« Reply #2 on: October 16, 2013, 04: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: 15338
  • Official Playmaker Support
    • View Profile
Re: request more information on action co routine [SOLVED]
« Reply #3 on: October 16, 2013, 10:13:56 PM »
Hi,

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

Bye,

 Jean