Skip to content
Treescrub edited this page Mar 18, 2021 · 9 revisions

Welcome to the AcornLib wiki!

List of modules

Module Description
Logger Smarter logging beyond just printl
Timing Execute functions in the future and have a function called every game tick
Callbacks Register callbacks for player key presses
Constants Tables with various constant values
Chat Commands Create chat commands
Convars Create custom convars and listen for changes in convars

Example modules/scripts can be found in the examples folder

All function declarations follow the format:

return_type functionName(arguments)

Function callback arguments will describe the arguments they are passed

void SomeFunc(function funcArg(bool thing, string other_thing), array otherArg)

Clone this wiki locally