playMaker

Author Topic: Wait Frames  (Read 1310 times)

4ppleseed

  • Full Member
  • ***
  • Posts: 227
    • View Profile
Wait Frames
« on: October 10, 2014, 04:37:25 AM »
I often use the Wait action for time and Next Frame Event for frames but I'd like to be more specific with frames. Can we have a combination of the two? Wait and then you add a number for how many frames?

Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13001
  • Official Playmaker Support
    • View Profile
Re: Wait Frames
« Reply #1 on: October 21, 2014, 01:26:03 AM »
Hi,

 for this, you can use a state set to "sequence" and stack a wait action followed by a number of next frame events and done.

 Also, I am sure why you want to have a specific number of frames to count? the general approach is to create gameplay and logic that are frame rate dependant, and the next frame event is here to allow from process to be completed before proceeding further ( because unity only update values at the end of the frame process), and so if you need to wait for several frames, maybe you need to actually wait for a duration instead.

 Bye,

 Jean

Gua

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • Andrii Vintsevych
Re: Wait Frames
« Reply #2 on: May 31, 2018, 12:59:51 AM »
I really would like to have Wait Frames action. Using multiple Next Frame Events is not ideal for many situations and makes logic graphs far more cluttered.

600

  • Hero Member
  • *****
  • Posts: 572
    • View Profile
    • Car and Traffic Playmaker assets
Re: Wait Frames
« Reply #3 on: May 31, 2018, 02:51:16 AM »
I really would like to have Wait Frames action. Using multiple Next Frame Events is not ideal for many situations and makes logic graphs far more cluttered.
On Ecosystem there are another version of NextFrameEvent:
NextFrameEventAdvance

Gua

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • Andrii Vintsevych
Re: Wait Frames
« Reply #4 on: June 01, 2018, 09:00:49 AM »
I really would like to have Wait Frames action. Using multiple Next Frame Events is not ideal for many situations and makes logic graphs far more cluttered.
On Ecosystem there are another version of NextFrameEvent:
NextFrameEventAdvance
Thank you very much!