A condition state evaluates its conditions sequentially until a given condition is true. Then it fires the associated event to trigger the following state. Following picture is an example of condition state:
To create a condition state, you should drag and drop the Condition into Editing area. Then set the properties in the Properties view.
General properties
Name: Automatically generated. You could also edit it manually.
Default Event: Automatically generated. You could also edit it manually. This event would be triggered when all the conditions return false.
Add conditions for the condition state. A condition that is defined returns either a value of true or false. If true, the correspondent event will be triggered. For information on how to create and define conditions, refer to the following sub-sections.