Game (functions)/Queuing: Difference between revisions
From PMDOWiki
Created page with " == GAME:QueueLeaderEvent(System.Object) == Prepares an event to execute on the next frame. === Arguments === * <code>obj</code>: None == GAME:WaitFrames == Waits for a specified number of frames before continuing. === Arguments === * <code>frames</code>: The number of frames ot wait. Each frame is 1/60th of a second. === Example === <pre> GAME:WaitFrames(60) </pre>" |
No edit summary |
||
| Line 1: | Line 1: | ||
== | == QueueLeaderEvent == | ||
Prepares an event to execute on the next frame. {{FuncUsage|nmspace=GAME|nm=QueueLeaderEvent|args=obj}} | |||
=== Arguments === | === Arguments === | ||
{| class="wikitable" | |||
{{ArgHeader}} | |||
{{ArgRow | |||
|name=obj | |||
|type=Object | |||
|techt=System.Object | |||
|purp=(undocumented) | |||
}} | |||
|} | |||
== WaitFrames == | |||
Waits for a specified number of frames before continuing. {{FuncUsage|nmspace=GAME|nm=WaitFrames|args=num}} | |||
Waits for a specified number of frames before continuing. | |||
=== Arguments === | === Arguments === | ||
{| class="wikitable" | |||
{{ArgHeader}} | |||
{{ArgRow | |||
|name=num | |||
|type=Integer | |||
|techt=System.Int32 | |||
|purp=The number of frames to wait. Each frame is 1/60th of a second. | |||
}} | |||
|} | |||
=== Example === | === Example === | ||
Latest revision as of 00:26, 18 January 2026
QueueLeaderEvent
Prepares an event to execute on the next frame. Argument order is GAME:QueueLeaderEvent(obj).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| obj | Object | System.Object
|
(undocumented) |
WaitFrames
Waits for a specified number of frames before continuing. Argument order is GAME:WaitFrames(num).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| num | Integer | System.Int32
|
The number of frames to wait. Each frame is 1/60th of a second. |
Example
GAME:WaitFrames(60)
