Script:move: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
{{ScriptCommandPage | |||
|description=adjust the world position | |||
|context=any | |||
|parameters= | |||
dx number Value to add to the entity's x position | |||
dy number Value to add to the entity's y position | |||
dz number Value to add to the entity's z position | |||
|intro=This command has no effect on the player entity as the position is overwritten each frame. | |||
}} | |||
| | |||
| | |||
This command has no effect on the player entity as the position is overwritten each frame. | |||
Revision as of 17:26, 15 April 2020
The move
script command is used to adjust the world position for an entity. This command has no effect on the player entity as the position is overwritten each frame.
Usage
move <dx> <dy> <dz>
Context: Any Entity
Parameters:
Parameter | Type | Description |
---|---|---|
dx |
number or variable |
Value to add to the entity's x position |
dy |
number or variable |
Value to add to the entity's y position |
dz |
number or variable |
Value to add to the entity's z position |