The base class for scenewide events. SceneEvents can be created using ScriptComponent's createEvent method.
Example
// Bind a function to the MouthOpened event functiononMouthOpen(eventData) { print("mouth was opened"); } varevent = script.createEvent("MouthOpenedEvent"); event.bind(onMouthOpen);
The base class for scenewide events. SceneEvents can be created using ScriptComponent's createEvent method.
Example