A list of all Actions, Conditions and Expressions supported in this addon.
Enable
-
Actions
Set {my} {0}
Set whether this behavior is activated. It will also pause current moving.
Set {my} stop by solid {0}
Enabled or disable stop by solid.
-
Expressions
Activated
The current activated state of behavior.
Set {my} {0}
Set whether this behavior is activated. It will also pause current moving.
Set {my} stop by solid {0}
Enabled or disable stop by solid.
Speed
-
Actions
Set {my} maximum speed to {0}
Set the object's maximum speed.
Set {my} acceleration to {0}
Set the object's acceleration.
Set {my} deceleration to {0}
Set the object's deceleration.
Set {my} current speed to {0}
Set the object's Current speed.
-
Conditions
{my} speed {0} {1}
Compare the current speed of the object.
-
Expressions
Speed
The current object speed, in pixel per second.
MaxSpeed
The maximum speed setting, in pixel per second.
Acc
The acceleration setting, in pixel per second per second.
Dec
The deceleration setting, in pixel per second per second.
Set {my} maximum speed to {0}
Set the object's maximum speed.
Set {my} acceleration to {0}
Set the object's acceleration.
Set {my} deceleration to {0}
Set the object's deceleration.
Set {my} current speed to {0}
Set the object's Current speed.
MoveTo
-
Actions
{my} move to ({0}, {1})
Move to specific position.
{my} move to {0}
Move to object.
{my} move to (delta {0}, delta {1})
Move to specific position by deltaXY.
{my} move to (distance {0}, angle {1})
Move to specific position by distance-angle.
{my} move to UID: {0}
Move to object by UID.
-
Conditions
DEPRECATED: On {my} moving
DEPRECATED: Triggered when object moving.
Is {my} moving
Is object moving.
-
Expressions
TargetX
The X co-ordinate of target position to move toward.
TargetY
The Y co-ordinate of target position to move toward.
{my} move to ({0}, {1})
Move to specific position.
{my} move to {0}
Move to object.
{my} move to (delta {0}, delta {1})
Move to specific position by deltaXY.
{my} move to (distance {0}, angle {1})
Move to specific position by distance-angle.
{my} move to UID: {0}
Move to object by UID.
Stop
-
Actions
-
Conditions
On {my} reached target
Triggered when reached target position.
On {my} stopped by solid
Triggered when stopped by solid object.
Moving angle
-
Conditions
{my} moving angle {0} {1}
Compare the current moving angle of the object.
-
Expressions
MovingAngle
Get current moving angle, in degree. Retrun last moving angle when object is not moving.
MovingAngleStart
Get moving angle from start position to target position, in degree.
{my} moving angle {0} {1}
Compare the current moving angle of the object.