- Data\Actor\Conditions
- Compare
- Constant
- Variable
- Add
- If
- Random Int
- Divide
- Multiply
- Subtract
- Logic Not
- Logic And
- Logic Or
- Area Search Radius
- Unit Weapon Range
- Unit Ability Range
- Unit Team Id
- Behavior Stack Count
- Unit Radius
- Is Critical Hit
- Viewer Has Alliance Type
- Viewer Has Player Id
- Behavior Stack Count Delta
- Unit Damaged Amount
Data\Actor\Conditions
Conditions to be met for the actions to be executed. If any of the condition evaulates to 0 or false, the actions will not be executed.
Note that the condition will be evaulated in the context of an existing actor. If this event is used to create a new actor (e.g., create a actor when a certain behavior is turned on), the evaulation context will be the root of the actor scope (e.g., the unit actor). If no actor can be found, the conditions are assumed to be met.
Compare
Compares two values/expressions and returns true or false based on the result.
Constant
Returns the given integer. Useful for comparing to other values.
Variable
Returns the given variable. Variables are set with the Set Variable actor action.
Add
Returns the sum of the listed expressions.
If
Returns the result of the evaluated expression if the condition is true. Otherwise returns false.
Random Int
Returns a random integer between the min and max value.
Divide
Returns the result of the left value divided by the right value.
Multiply
Returns the result of the listed expressions multiplied together.
Subtract
Returns the result of the right value subtracted from the left value.
Logic Not
Returns the flipped value or expression (true becomes false, false becomes true).
Logic And
Returns true if all listed values/expressions are true.
Logic Or
Returns true if any listed values/expressions are true.
Area Search Radius
If the actor is created by an area search effect from an action actor, returns the radius of the search effect.
Unit Weapon Range
If the actor scope contains a unit, returns the maximum range of a weapon on the unit.
Unit Ability Range
If the actor scope contains a unit, returns the range of an ability on the unit.
Unit Team Id
If the actor scope contains a unit, returns the team id of the unit.
Behavior Stack Count
If the actor scope contains a unit, returns the current stack count of a behavior of the unit.
Unit Radius
If the actor scope contains a unit, returns the radius of the unit.
Is Critical Hit
Returns true if the actor event triggered by a critical hit.
Viewer Has Alliance Type
Returns true if the current viewer has a certain alliance type with the unit in the actor scope.
Viewer Has Player Id
Returns true if the current viewer has a certain player id.
Behavior Stack Count Delta
If the actor event is triggered by behavior_stack_increase or behavior_stack_decrease, returns the stack count delta.
Unit Damaged Amount
If the actor event is triggered by unit damaged, returns the damage amount.