Jump to content

Sonic the Hedgehog (2006) LuaSystem Functions

From HedgeDocs
Revision as of 15:26, 14 April 2026 by Hyper (talk | contribs) (Created page with "= LuaSystem = These functions are provided by <code>Sonicteam::LuaSystem</code>. == script.reload == {{Notice|type=info|content=This function is an alias of <code>Game.ExecScript</code>.}} === Description === Loads and executes the specified Lua script. This function expects a path to a <code>*.lub</code> file with a <code>*.lua</code> file extension. === Signature === script.reload(path) ==== Parame...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.