Introduction/events-tick

Tick Event

Tick event can be useful when you want something to execute every tick.


Example:

tick::

{

gm_stock->console_log("1")

gm_stock->console_log("2")

gm_stock->console_log("3")

}

Example above uses move (::) operator to execute everything after tick:: event.

Custom Tick Speed

Coming Soon

You can easily change tick speed to a custom value for a specific part using

define.


Example:

define->part_update_rate = 2

Line above sets the Tick Speed (Update Rate) to a custom value of 2 so it

updates two times faster.

documentation

Outdated! Updates coming soon.