Wiki/Guides/Lua/Stormworks API

== Vehicle API ==
== Mission API ==
=== Server Functions ===
=== Callbacks ===
These are callback functions that can be added to a script and are called automatically when their specified conditions are met, the simplest callback function is onTick() which is called every game tick.
==== onTick(game_ticks) ====
Called every game tick. game_ticks refers to the number of ticks that have passed this frame (normally 1, while sleeping 400).
=== Matrix Functions ===
==== matrix.multiply ====
Multiplies two matrices together.
out_matrix = matrix.multiply(matrix1, matrix2)
==== matrix.invert ====
Inverts a matrix.
==== matrix.transpose ====
==== matrix.indentity ====
== Lua API ==