PlayMaker Feedback > Action Requests

Wait Frames[SOLVED]

(1/1)

4ppleseed:
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:
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:
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:

--- Quote from: Gua on May 31, 2018, 03: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.

--- End quote ---
On Ecosystem there are another version of NextFrameEvent:
NextFrameEventAdvance

Gua:

--- Quote from: 600 on May 31, 2018, 05:51:16 AM ---
--- Quote from: Gua on May 31, 2018, 03: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.

--- End quote ---
On Ecosystem there are another version of NextFrameEvent:
NextFrameEventAdvance

--- End quote ---
Thank you very much!

Navigation

[0] Message Index

Go to full version