Script:move: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Stub}}
{{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:

ParameterTypeDescription
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