ZGameEditor Documentation
Community |
DefineConstantDefineConstantDefines a constant that can be used in expressions. A constant value is a value that cannot be changed. PropertiesNameThe name of the constant. TypeThe data type of the constant.
ValueThe value of the constant when type is set to Float. Examples of how to use a constant in an expression: "CurrentModel.Velocity.X=MyConst.Value;" or "Temp1=MyConst;". IntValueThe value of the constant when type is set to Integer. StringValueThe value of the constant when type is set to String. |