Change Battler Position
Change Battler Position¶
Updates the position of a battler in the battle scene.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Battler Unique ID | The unique ID of the battler whose position will be changed. | Variable or Value |
| X | The X coordinate to set for the battler's position. | Variable or Value |
| X Enabled | When enabled, the X coordinate of the battler will be updated. | Toggle |
| Y | The Y coordinate to set for the battler's position. | Variable or Value |
| Y Enabled | When enabled, the Y coordinate of the battler will be updated. | Toggle |
| Z | The Z coordinate to set for the battler's position. | Variable or Value |
| Z Enabled | When enabled, the Z coordinate of the battler will be updated. | Toggle |
Examples¶
Change the X Position of a Battler¶
This sets the X coordinate of the battler identified by Global Variable 0 to 5.
{"Data":{"BattlerUniqueID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"IsXEnabled":true,"IsYEnabled":false,"IsZEnabled":false,"X":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"5","VariableIndex":0,"Metadata":null},"Y":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Z":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.ChangeBattlerPositionCommand"}
Change All Position Coordinates of a Battler¶
This sets the X, Y, and Z coordinates of the specified battler to new positions.
{"Data":{"BattlerUniqueID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"IsXEnabled":true,"IsYEnabled":true,"IsZEnabled":true,"X":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"10","VariableIndex":0,"Metadata":null},"Y":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"2","VariableIndex":0,"Metadata":null},"Z":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"5","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.ChangeBattlerPositionCommand"}