Script:move: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ScriptCommandPage | {{ScriptCommandPage | ||
|description=adjust the world position | |description=adjust the world position | ||
|context=any | |context=any | ||
|parameters= | |parameters= | ||
dx number Value to add to the entity's x position | dx number* Value to add to the entity's x position | ||
dy number Value to add to the entity's y position | dy number* Value to add to the entity's y position | ||
dz number Value to add to the entity's z 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. | |intro=This command has no effect on the player entity as the position is overwritten each frame. | ||
}} | }} |
Latest revision as of 11:02, 17 June 2022
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 |