Data ActorExpression - funovus/editor-wiki GitHub Wiki
Table of Contents
- [Data\Actor\Conditions](#dataactorconditions)
* [Compare](#compare)
* [Constant](#constant)
* [Variable](#variable)
* [Add](#add)
* [If](#if)
* [Random Int](#random-int)
* [Divide](#divide)
* [Multiply](#multiply)
* [Subtract](#subtract)
* [Logic Not](#logic-not)
* [Logic And](#logic-and)
* [Logic Or](#logic-or)
* [Area Search Radius](#area-search-radius)
* [Unit Weapon Range](#unit-weapon-range)
* [Unit Ability Range](#unit-ability-range)
* [Unit Team Id](#unit-team-id)
* [Behavior Stack Count](#behavior-stack-count)
* [Unit Radius](#unit-radius)
* [Is Critical Hit](#is-critical-hit)
* [Viewer Has Alliance Type](#viewer-has-alliance-type)
* [Viewer Has Player Id](#viewer-has-player-id)
* [Behavior Stack Count Delta](#behavior-stack-count-delta)
|
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.
Compares two values/expressions and returns true or false based on the result.
Returns the given integer. Useful for comparing to other values.
Returns the given variable. Variables are set with the Set Variable actor action.
Returns the sum of the listed expressions.
Returns the result of the evaluated expression if the condition is true. Otherwise returns false.
Returns a random integer between the min and max value.
Returns the result of the left value divided by the right value.
Returns the result of the listed expressions multiplied together.
Returns the result of the right value subtracted from the left value.
Returns the flipped value or expression (true becomes false, false becomes true).
Returns true if all listed values/expressions are true.
Returns true if any listed values/expressions are true.
If the actor is created by an area search effect from an action actor, returns the radius of the search effect.
If the actor scope contains a unit, returns the maximum range of a weapon on the unit.
If the actor scope contains a unit, returns the range of an ability on the unit.
If the actor scope contains a unit, returns the team id of the unit.
If the actor scope contains a unit, returns the current stack count of a behavior of the unit.
If the actor scope contains a unit, returns the radius of the unit.
Returns true if the actor event triggered by a critical hit.
Returns true if the current viewer has a certain alliance type with the unit in the actor scope.
Returns true if the current viewer has a certain player id.
If the actor event is triggered by behavior_stack_increase or behavior_stack_decrease, returns the stack count delta.