How do you set up a delay in Scaleform LUA scripts?

How do you set up a delay in Scaleform LUA scripts?

Anonymous
Not applicable
698 Views
3 Replies
Message 1 of 4

How do you set up a delay in Scaleform LUA scripts?

Anonymous
Not applicable

I've almost got my gamepad input script working, I just need a way of creating a short delay so that the gamepad doesn't spam the script.  How do you create a delay or a "waitForSeconds" function in LUA in Scaleform.  Is it a coroutine of some sort?  I've looked through the Scaleform API and I can't figure out which function I should use, or how to properly implement a timer of some sort.

Reply
Reply
0 Likes
Accepted solutions (1)
699 Views
3 Replies
Replies (3)
Message 2 of 4

dan.matlack
Alumni
Alumni
I've reached out to the scaleform team to see best practice on this case. Will get back to you!
______________________________________
Dan Matlack
Senior Content Manager || Games Solutions
Autodesk, Inc.
Reply
Reply
0 Likes
Message 3 of 4

Anonymous
Not applicable

I just want to make sure this question doesn't get lost in the forums before its answered, any progress?

Reply
Reply
0 Likes
Message 4 of 4

colin.branch
Alumni
Alumni
Accepted solution
Reply
Reply
0 Likes