Get char info

Returns with various values from the character’s main folder that are otherwise inaccessible.

Syntax
set_victory_portrait( sprite );

Macros
Note that any property with  in the name will return as a string. Everything else returns as a number.

The values you can get using this function can be the following macros:

Returns
string or int

Examples
//hit_player.gml //Grabs the name of the character you just hit and then adds it to a string that can be drawn later. hit_text = "See ya, " + get_char_info( hit_player_obj.player, INFO_STR_NAME) + "!";