get_state_name - ryzom/ryzomcore GitHub Wiki
title: Get State Name description: published: true date: 2023-03-13T00:11:55.494Z tags: editor: markdown dateCreated: 2023-03-13T00:11:15.134Z
The getStateName native AI script function returns the name of the current state.
(StateName: s)getStateName()
- StateName (string): The name of the current state.
($name)getStateName();
This example code sets the variable $name
to the name of the current state.