Node ActionsEventEvent Description: Creates a definition for an action that emits event. Signature: Event: function( name: string, param?: string --[[""]] ): ActionDef Usage: -- Get this event by register event from the action performing node.node:slot("EventName", function(param: string) print("EventName triggered with param", param)end)node:perform(Sequence( Delay(3), Event("EventName", "Hello"))) Parameters: ParameterTypeDescriptionnamestringThe name of the event to be triggered.paramstringThe parameter to pass to the event. (default: "") Returns: Return TypeDescriptionActionDefThe created ActionDef.