Saves an enum value and returns its id.
Syntax
1
save_enum(enum_name, value_name)
Argument | Type | Description |
---|---|---|
enum_name | string | The name of the enum type. |
value_name | string | The name of the enum value. |
Returns: Instance Id
Description
This function saves an enum value and returns its id. If the enum can have multiple values, separate each name by a comma.