Skip to content

get_state_name

Ryzom Core Wiki edited this page Jul 8, 2024 · 4 revisions

title: Get State Name description: published: true date: 2023-03-16T23:08:00.100Z tags: editor: markdown dateCreated: 2023-03-16T22:24:53.082Z

getStateName

The getStateName native AI script function returns the name of the current state.

Syntax

(StateName: s)getStateName()

Return value

  • StateName (string): The name of the current state.

Example

($name)getStateName();

This example code sets the variable $name to the name of the current state.

Clone this wiki locally