MovementEffect
This is an object
.
Field Name | Optional? | Description | Data Type |
---|---|---|---|
Fields from |
|||
trigger |
Type of trigger | TriggerType |
|
trigger_on_type |
This trigger happens for items that have an item type in this list Default value: ['Any'] |
Array of ItemType |
|
trigger_area |
This trigger happens for items that are in an area in this list Default value: ['self'] |
Array of Area |
|
trigger_distance |
Area distance to apply to the Areas in trigger_area. This further narrows the area radius to closest or adjacent items. Default value: all |
AreaDistance |
|
needs_activation |
If this is true, then this trigger must first be activated by giving the item the ItemStatusEffect isActivated |
boolean |
|
trigger_description |
Use, if the game cannot provide a description for this trigger or if you want to override it. See Custom Descriptions for more info. | string or MultiLanguage |
|
Fields from |
|||
affected_area |
Items in this area are affected by this movement effect Default value: ['self'] |
Array of Area |
|
affected_area_distance |
Distance the affected_area expands to |
AreaDistance |
|
x |
Horizontal component of the movement. Negative values move left, Positive Values move right Default value: 0 |
integer or ValueChanger |
|
y |
Vertical component of the movement. Negative values move up, positive values move down Default value: 0 |
integer or ValueChanger |
|
rotation |
Rotation of the movement effects, in quarter rotation steps. 1 is 90° clockwise, 4 is a full rotation. Same applies to ValueChangers if used.Default value: 0 |
integer or ValueChanger |
|
movement_type |
Whether to translate the movements globally or locally. Meaning if the movement is relative to the items current rotation. Default value: global |
MovementType |
|
movement_length |
How many times this movement should occur. | MovementLength |
|
description |
Use, if the game cannot provide a description for this effect or if you want to override it. See Custom Descriptions for more info. | string or MultiLanguage |