Author Topic: Wait Frames  (Read 1104 times)


  • 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?



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

 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.