playMaker

Author Topic: Activate GameObject delay  (Read 3366 times)

jpsmarinho

  • Playmaker Newbie
  • *
  • Posts: 11
Activate GameObject delay
« on: November 09, 2013, 09:04:19 AM »
Anyone know how I can add a delay to the Activate GameObject action? Thanks!!

mikejkelley

  • Full Member
  • ***
  • Posts: 136
Re: Activate GameObject delay
« Reply #1 on: November 10, 2013, 01:30:34 PM »
Just add a wait to the state preceding it. This rly belongs in the help section.

jpsmarinho

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Activate GameObject delay
« Reply #2 on: November 10, 2013, 09:30:30 PM »
But in my project I have in the same state the action itween and this action activate game object. Unless I create another FSM and send an event to it to enable my game object after a time, these two actions will run at the same time ! Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Activate GameObject delay
« Reply #3 on: November 11, 2013, 12:33:55 AM »
Hi,

 Simply Add a new state and transit to it using a SendEvent with a delay ( it's in the send event action itself).

You don't need a new Fsm for this ( you can but, not necessary). Simply cut down your logic into more States, that's all.


Bye,

 Jean