Returns a string of the player’s state.
Argument | Type | Description |
---|---|---|
state_index | :real | The state index to get the name of |
Example, called from debug_draw.gml:
// draws the player's state:
draw_debug_text( x, y, "state: " + get_state_name( state ));
Returns a string of the player’s state.
Argument | Type | Description |
---|---|---|
state_index | :real | The state index to get the name of |
Example, called from debug_draw.gml:
// draws the player's state:
draw_debug_text( x, y, "state: " + get_state_name( state ));