set_event
Ryzom Core Wiki edited this page Mar 13, 2023
·
2 revisions
title: Set Event description: published: true date: 2023-03-12T20:52:16.080Z tags: editor: markdown dateCreated: 2023-03-12T20:52:13.129Z
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.