Lua Functions

From Burnout Wiki
Revision as of 00:50, 14 February 2023 by Mr. Burguers (talk | contribs) (Created page with "This is a list of functions exposed by the game's Lua implementation. A small subset is actively used for the Party Pack challenges; others were left in the unused scripted challenges. This is a work-in-progress; documentation is lacking and could be wrong in some cases. = Actions = If a function with this name exists in the script, it will be automatically called by the game. #EnableAction must also be called for all, this is normally done in Initialise. <h3 style...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a list of functions exposed by the game's Lua implementation. A small subset is actively used for the Party Pack challenges; others were left in the unused scripted challenges.

This is a work-in-progress; documentation is lacking and could be wrong in some cases.

Actions

If a function with this name exists in the script, it will be automatically called by the game. #EnableAction must also be called for all, this is normally done in Initialise.

Initialise

Initialise()

The script started.

Update

boolean Update()

Called regularly. Return true to stop the script, false otherwise.

PostUpdate

PostUpdate()

Functions

Enumerations