ComponentRef
Condition
Condition
Execute a component list depending on the return value of an expression.
Properties
The expression that will be evaluated. If a true value is returned then the "OnTrue"-component list will be executed, otherwise the "OnFalse" will be executed. Example expressions: "return 1==1;", "return CurrentModel.Position.X>5;".
OnTrue
List of components that will be executed when Expression evaluates to true.
OnFalse
List of components that will be executed when Expression evaluates to false.
ZGameEditor
Documentation
- Contents
- Overview
- Tutorial 1
- Tutorial 2
- Tutorial 3
- Sample projects
- Component reference
- Writing expressions
Community