Lock |
||||||
---|---|---|---|---|---|---|
|
||||||
Run one instruction at a time
|
Description[edit | edit source]
When introduced to a behavior it restores the standard calculation rate to normal.
Uses[edit | edit source]
Some behaviors are calculation heavy or require more responsiveness between actions, which is where one would introduce the Unlock instruction. Lock is introduced where it is required that instruction execution speed returns to normal.
Attention must be paid to behaviors that create loops or are intended to repeat frequently as there is a 1000 instruction cap within a 0.2 second interval. If this occurs, the behavior will halt execution. To avoid this, use the Wait Ticks instruction to create artificial intervals or use Lock to restore normal execution speed.
Similar Instructions[edit | edit source]
Instructions | |
---|---|
Unit | |
Move | |
Component | |
Flow | |
Math | |
Global |