Instructions/Wait Ticks: Difference between revisions

From Desynced Wiki
Line 10: Line 10:


==== Similar Instructions ====
==== Similar Instructions ====
 
[[Instructions/Request Wait|Request Wait]]


{{Instruction_Bottom}}
{{Instruction_Bottom}}

Revision as of 14:46, 8 October 2023


Wait Ticks
     
     Pauses execution of the behavior until 1 or more ticks later (5 ticks=1 second)
Lua ID wait
Category Flow
Icon Wait.png
Argument One: Type Input
Argument One: Name Time
Argument One: Description Number of ticks to wait
Argument One: Data Type num



Description

Uses

Commonly when the Unlock instruction is present, a wait timer may be utilised to avoid exceeding the instruction limit (1000 instructions/tick).

Deliberately slowing the behavior execution down may be desirable in situations where many behaviors are present in order to reduce computation intensity.

Similar Instructions

Request Wait