Script:move: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Stub}}
{{ScriptCommandPage
 
|description=adjust the world position
This page describes the <code>move</code> script command.
|context=any
 
|parameters=
Usage:
dx number* Value to add to the entity's x position
 
dy number* Value to add to the entity's y position
move <x> <y> <z>
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.
Parameters:
}}
{| class="wikitable sortable"
! Parameter
! Type
! Description
|-
| <code><x></code>
| {{real}}
| Value to add to the entity's x position
|-
| <code><y></code>
| {{real}}
| Value to add to the entity's y position
|-
| <code><z></code>
| {{real}}
| Value to add to the entity's z position
|}
 
This command has no effect on the player entity as the position is overwritten each frame.
 
[[Category:Script commands]]

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