Skip to main content

Constant

This formula returns a constant value.

Returns​

T

JSON Format​

{
"type": "constant",
"value": ...,
"value_type": ...,
"sub_value_type": ...
}

RPG Script​

This component can be written in RPG Script as:

42

Fields​

FieldTypeRequiredDescription
valuedynamic✓The constant value that this formula will return.
value_typeValueType✓The type for the value of this formula. It has to match.
sub_value_typeValueTypeThe type of the sub value of the array this formula returns (only required if this formula returns an array and the value_type field is array).