-
Notifications
You must be signed in to change notification settings - Fork 94
post_next_state
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Post Next State description: published: true date: 2023-03-16T23:09:23.919Z tags: editor: markdown dateCreated: 2023-03-16T22:26:37.517Z
The postNextState native AI script function triggers a state change in the current state machine.
()postNextState(StateName: s)
- StateName (string): The name of the next state to trigger.
()postNextState("state_invasion_2");
This example code triggers a state change to the state named "state_invasion_2".