Introduction¶
Asterion embeds an in-game Lua console in each supported product. Anything you run through it can script the game directly.
Every game exposes its own Lua API — the functions available in FiveM are not the same as those in CS2, Rust or League of Legends. Pick your game below to see its reference.
Products¶
How scripts run¶
A script executed from the console runs once, top to bottom. To keep something running you use the loop or thread primitives from your game's API.
See Running scripts for the console basics, then open your game's API reference.