Difference between revisions of "Sync"
From Unofficial QEdit Wiki Guide
Line 29: | Line 29: | ||
==Related== | ==Related== | ||
− | [[ret]] | + | [[ret]], [[call]], [[window_msg]], [[winend]] |
Revision as of 11:42, 24 March 2011
Syntax: sync
Format
- None
Use
Pause function for a single frame. Used to delay actions. 30 frames = 1 second
Example
100: call 101 \\Call function 101
window_msg 'Okay. I've waited 1 second. Now what?'
winend
ret
101: call 102 \\Call function 102
call 102 \\Call function 102
call 102 \\Call function 102
call 102 \\Call function 102
call 102 \\Call function 102
call 102 \\Call function 102
ret
102: sync \\Pause for 1 frame
sync \\Pause for 1 frame
sync \\Pause for 1 frame
sync \\Pause for 1 frame
sync \\Pause for 1 frame
ret
Related
ret, call, window_msg, winend