set_event - ryzom/ryzomcore GitHub Wiki
title: Set Event description: published: true date: 2023-03-16T23:10:32.017Z tags: editor: markdown dateCreated: 2023-03-16T22:28:02.117Z
The setEvent native AI script function triggers a user event.
()setEvent(EventId: f) // setEvent_f_
- EventId (float): The user event id to be triggered.
()setEvent(0); // Triggers the event 0.
This example code calls the setEvent
function to trigger the user event with id 0.