Jump to content

Sonic the Hedgehog (2006) LuaSystem Functions

From HedgeDocs

LuaSystem

These functions are provided by Sonicteam::LuaSystem.

script.reload

Info
This function is an alias of Game.ExecScript.

Description

Loads and executes the specified Lua script. This function expects a path to a *.lub file with a *.lua file extension.

Signature

script.reload(path)

Parameters

Parameter Type Description Required?
path String The path to the script to execute. ✔️

Results

None.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.