(Created page with "=Properties= {{ScriptFunction|bool|Enabled|{get;set;}|Return whether the scripting events component is enabled.|5= local thisObject=Space.Host.ExecutingObject<br> local thisO...") |
(No difference)
|
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)
|