Script:move: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
|context=any | |context=any | ||
|parameters= | |parameters= | ||
dx* | dx number* Value to add to the entity's x position | ||
dy* | dy number* Value to add to the entity's y position | ||
dz* | 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. | ||
}} | }} |
Revision as of 18:36, 2 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 |