Script:move: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}
 
{{ScriptCommandPage
This page describes the <code>move</code> script command.
|description=adjust the world position
 
|context=any
Usage:
|parameters=
 
dx number Value to add to the entity's x position
move <x> <y> <z>
dy number Value to add to the entity's y position
 
dz number Value to add to the entity's z position
Parameters:
|intro=This command has no effect on the player entity as the position is overwritten each frame.
{| 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]]

Revision as of 17:26, 15 April 2020

This article is a stub - you can help by expanding it. See the Wiki FAQ.

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