save_enum_typeof | Precisamento

save_enum_typeof

Home
functions
constants
json
examples

Saves an enum of the type specified by the first argument and returns its id.

Syntax

1
save_enum_typeof(value_name)
Argument Type Description
value_name string The name of the enum value.

Returns: Instance Id

Description

Saves an enum of the type specified by the first argument and returns its id. First load the enum type, then call this function. If the enum can have multiple values, separate each name by a comma.