Recent Changes - Search:

ZGameEditor

Documentation

Community

Edit sidebar

DefineConstant

DefineConstant

Defines a constant that can be used in expressions. A constant value is a value that cannot be changed.

Properties

Name

The name of the constant.

Type

The data type of the constant.

  • Float
  • Integer
  • String

Value

The 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;".

IntValue

The value of the constant when type is set to Integer.

StringValue

The value of the constant when type is set to String.

Edit - History - Print - Recent Changes - Search
Page last modified on February 25, 2010, at 05:03 pm