A list of all Actions, Conditions and Expressions supported in this addon.
General
-
Actions
Set enabled to {0}
Enable or disable the behavior.
Set target to object named {0}
Set target object by name.
Set facing angle to {0}
Set NPC facing angle in degrees. Call every tick with Self.Bullet2.AngleOfMotion or similar.
Set prefix to {0}
Set animation name prefix (e.g. "Man").
Set state to {0}
Set animation state (e.g. "Idle", "Walk", "Pickup").
-
Conditions
Is enabled
True when the behavior is enabled.
On direction changed
Triggered every time the direction index changes.
-
Expressions
DirectionIndex
Direction: 0=Front 1=Right 2=Back 3=Left
AngleToTarget
Angle in degrees from NPC to target.
AnimationName
Full animation name: Prefix + State + Direction. E.g. ManWalkFront.