The setEvent native AI script function triggers a user event.
()setEvent(EventId: f) // setEvent_f_
()setEvent(0); // Triggers the event 0.
This example code calls the setEvent function to trigger the user event with id 0.
setEvent