get_state_name - ryzom/ryzomcore GitHub Wiki
title: Get State Name description: published: true date: 2023-03-16T23:08:00.100Z tags: editor: markdown dateCreated: 2023-03-16T22:24:53.082Z
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.