Instructions/Wait Ticks: Difference between revisions

From Desynced Wiki
(Created page with "{{Instruction_Top}} ==== Description ==== ==== Uses ==== ==== Similar Instructions ==== {{Instruction_Bottom}}")
 
Line 5: Line 5:


==== Uses ====
==== Uses ====
Commonly when the [[Instruction/Unlock|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 ====
==== Similar Instructions ====

Revision as of 14:35, 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