Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "WAIT"

From Creatures Wiki
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
 
WAIT is a CAOS command often used in [[timer script]]s to get the object to wait a certain number of [[tick]]s before continuing the script.  This number of ticks is an [[wikipedia:Integer|integer]], a whole number.  In C3 and Docking Station, WAIT also performs the same function as [[SLOW]], turning off the "[[INST]]antaneous" mode of code running.
 
WAIT is a CAOS command often used in [[timer script]]s to get the object to wait a certain number of [[tick]]s before continuing the script.  This number of ticks is an [[wikipedia:Integer|integer]], a whole number.  In C3 and Docking Station, WAIT also performs the same function as [[SLOW]], turning off the "[[INST]]antaneous" mode of code running.
 +
 +
Note that waits can be interrupted and left in a weird state, or if the waits are [[LOCK]]ed against interruption in a push/pull/hit/eat script, creatures can't interact with the object that is waiting. 
  
 
==See also==
 
==See also==

Latest revision as of 03:32, 13 May 2022

WAIT is a CAOS command often used in timer scripts to get the object to wait a certain number of ticks before continuing the script. This number of ticks is an integer, a whole number. In C3 and Docking Station, WAIT also performs the same function as SLOW, turning off the "INSTantaneous" mode of code running.

Note that waits can be interrupted and left in a weird state, or if the waits are LOCKed against interruption in a push/pull/hit/eat script, creatures can't interact with the object that is waiting.

See also[edit]

Editnorn.png This article about a CAOS command or function needs further examples.