TICK

From Creatures Wikia

Jump to: navigation, search

TICK is a CAOS command used to set a timer running, or return the current setting of the timer period.

TICK command

Syntax: TICK number_of_ticks (integer)

Sets a timer running with the given period, so that every number_of_ticks ticks, the timer script of the TARG agent will be called.

TICK function

Syntax: TICK

Returns, as an integer, TARG's current timer period (i.e., what it was last set to using the command above).

Examples

TICK being used in the CAOS Command Line to call the timer script of HOTS every 40 ticks:

TARG HOTS TICK 40

Being used in the CAOS command line to display the tick value of HOTS:

TARG HOTS OUTV TICK 
Personal tools