Movement Elements
Movement Elements¶
Movement Elements control how Actors move in a scene, generally configured by a path on an Entity script page or via the Move Entity command.
Movement Elements¶
- Character Model
- Character Shape
- Color Mask
- Face
- Path Find
- Relative Step
- Rotate Model Sprite
- Scale
- Shake
- Sound Effect
- Step
- Step In Relation
- Switch
- Teleport
- Translation
- Turn
- Variable
- Visibility
- Wait
Character Model¶
Character Model elements apply a character model to the target.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Sprite / Model | The character model to apply to the target. | Sprite or Model |
Character Shape¶
Character Shape elements apply a sprite shape to the target.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Shape | The shape of the character, if a sprite. | Sprite Shape |
Color Mask¶
Color Mask elements apply a color mask to the target.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Color Mask | The color mask to apply to the target. | Color |
Face¶
Face elements change the direction the target is facing.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Direction | The direction to face. | Direction |
| Direction Face | Whether to face in a direction. | Toggle |
| Face Away From Hero | Whether the actor should face away from the hero. | Toggle |
| Face Backward | Whether the actor should face backwards. | Toggle |
| Face Random | Whether to face a random direction. | Toggle |
| Face Toward Hero | Whether the actor should face toward the hero. | Toggle |
| Face Variable Direction | Whether the actor should face a variable direction. | Toggle |
| Variable Direction | The variable representation of the direction. | Variable or Value |
Path Find¶
Path Find elements move the target to a location using pathfinding.
Note: An Edit button is available to configure the X, Y, and Z coordinates.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| X | The location's X component. | Variable or Value |
| Y | The location's Y component. | Variable or Value |
| Z | The location's Z component. | Variable or Value |
Relative Step¶
Relative Step elements move the target by a fractional offset along each axis.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| X Step Factor | The step factor for the X axis. | Variable or Value |
| Y Step Factor | The step factor for the Y axis. | Variable or Value |
| Z Step Factor | The step factor for the Z axis. | Variable or Value |
Rotate Model Sprite¶
Rotate Model Sprite elements rotate the target's model or sprite over time.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Duration (milliseconds) | The duration of the rotation. | Number |
| Pitch (X Rotation) | The pitch in degrees, if valid. | Number |
| Relative Rotation | Whether the rotation is relative to the current value. | Toggle |
| Roll (Z Rotation) | The roll in degrees, if valid. | Number |
| Yaw (Y Rotation) | The yaw in degrees, if valid. | Number |
Scale¶
Scale elements change the size of the target.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| X | The scale's X component. | Variable or Value |
| Y | The scale's Y component. | Variable or Value |
| Z | The scale's Z component. | Variable or Value |
Shake¶
Shake elements apply a shake effect to the target for a duration.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Duration | The duration of the element in milliseconds. | Variable or Value |
| X | The shake's X component. | Variable or Value |
| Y | The shake's Y component. | Variable or Value |
| Z | The shake's Z component. | Variable or Value |
Sound Effect¶
Sound Effect elements play a sound effect.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Sound | The sound effect to play. | Sound Effect |
Step¶
Step elements move the target one tile in a direction.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Direction | The direction to step. | Direction |
| Direction Step | Whether the step is a directional step. | Toggle |
| Step Away From Hero | Whether the step is away from the hero. | Toggle |
| Step Backward | Whether the step is backward. | Toggle |
| Step Factor | The step amount to move. | Number |
| Step Forward | Whether the step is forward. | Toggle |
| Step Random | Whether the step is random. | Toggle |
| Step Toward Hero | Whether the step is toward the hero. | Toggle |
| Step Vertical Only | Whether the step is vertical only. | Toggle |
Optional Details¶
| Name | Explanation | Type |
|---|---|---|
| Ascend | Whether the step is ascending. | Toggle |
| Descend | Whether the step is descending. | Toggle |
| Random Ascent or Descent | Whether to include ascent/descent operations in random. | Toggle |
Step In Relation¶
Step In Relation elements move the target toward or away from another actor.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Step Away | Whether the step is away. | Toggle |
| Step Factor | The step amount to move. | Number |
| Step Toward | Whether the step is forward. | Toggle |
| Target | The target to move in relation to. | Actor Reference |
Switch¶
Switch elements set a global or local switch value.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Switch | The switch operation to execute. | Switch |
Teleport¶
Teleport elements instantly move the target to a specific location.
Note: An Edit button is available to configure the X, Y, and Z coordinates.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Include X | Whether to use the X component when teleporting. | Toggle |
| Include Y | Whether to use the Y component when teleporting. | Toggle |
| Include Z | Whether to use the Z component when teleporting. | Toggle |
| X | The location's X component. | Variable or Value |
| Y | The location's Y component. | Variable or Value |
| Z | The location's Z component. | Variable or Value |
Translation¶
Translation elements offset the target's visual position.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Is Absolute | Whether the translation is set to an absolute value. | Toggle |
| Is Relative | Whether the translation is set to alter the current translation by a delta. | Toggle |
| X | The translation on the X axis. | Variable or Value |
| Y | The translation on the Y axis. | Variable or Value |
| Z | The translation on the Z axis. | Variable or Value |
Turn¶
Turn elements rotate the target's facing direction clockwise or counter-clockwise.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Clockwise | Whether the rotation is clockwise. | Toggle |
| Turn Factor | The amount to turn. | Number |
Variable¶
Variable elements modify a global or local variable value.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Variable | The variable operation to execute. | Variable |
Visibility¶
Visibility elements toggle whether the target is visible.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Is Visible | Whether the entity should be visible. | Switch or Value |
Wait¶
Wait elements pause the movement path for a duration.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Wait Time (milliseconds) | The time to wait. | Variable or Value |