Skip to main content

Add Component > Massive Loop > Lua Script

LuaScript Component

Attaches a Lua script to a game object.

Parameters

NameDescription
Run On Master OnlyIf checked, the attached Lua script is only executed in the master client.
Lua ScriptThe field to drop the script.

Event Actions ?

ActionDescriptionInput
RunLuaFunction(string)Runs a Lua function declared within the attached Lua scriptName of the function

API