Integer

Last modified by KDearnley on 2023/07/31 14:06

Integer

An Integer variable can be set to a whole number and used to control certain properties on other objects.

Details

Integer.PNG
Object: Integer

Category: Variable

Inputs

INPUTS
Set.pngSet (Integer)Set the Integer to the value specified in the input's properties.
Add.pngAdd (Integer)Increase the Integer by the amount specified in the input's properties.
Subtract.pngSubtract (Integer)Decrease the Integer by the amount specified in the input's properties.
Multiply.pngMultiply (Integer)Set the Integer to the product of its current value and the value specified in the input's properties.
Divide.pngDivide (Integer)Set the Integer to the quotient from dividing the current value by the value specified in the input's properties.
Modulo.pngModulo (Integer)Set the Integer to the remainder after dividing the current value by the value specified in the input's properties.
Min.pngMin (Integer)Set the Integer to the value specified in the input's properties if it is less than the current value.
Max.pngMax (Integer)Set the Integer to the value specified in the input's properties if it is greater than the current value.
Random.pngRandom (Integer)Set the Integer to a random value between the allowed minimum and maximum.

Outputs

OUTPUTS
OnChanged.pngOn ChangedWhen the value changes, send a signal. The activator is the Resource or Cached Entity that changed. There is no activator for Boolean, Color, Integer, Number or String variables.

Properties

PROPERTIES
PropertyTypeDescription
NameStringThe name of this object. Rename an object to make it easy to identify.
IconGrid PickerIcon of this object. Change the icon to make it easy to identify.
Initial ValueIntegerThe starting value for this variable.
Min ValueIntegerThe minimum value.
Max ValueIntegerThe maximum value.