-
Notifications
You must be signed in to change notification settings - Fork 94
set_event
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
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.