Return whether the scripting events component is enabled.
local thisObjectScriptingEvents=thisObject.Events
Space.Log(thisObjectScriptingEvents.Enabled)
Returns a list of events.
local events=thisObject.Events.Events
--return a list of Objects.
for i=1, #events do
Space.Log(events[i])
end
Invoke an event with its name.
local no1Name="no1"
thisObject.Events.InvokeEvent(no1Name)
|