setPosATL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(syntax, seealso)
Line 14: Line 14:
|p1= object: [[Object]] |= Parameter 1
|p1= object: [[Object]] |= Parameter 1


|p2= pos: [[Array]] |= Parameter 2
|p2= pos: [[Array]] - format [[PositionATL]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[getPosATL]] [[getPos]] |= See also
| [[getPosATL]], [[getPos]], [[getPosASL]], [[setPos]], [[setPosASL]]  |= See also


}}
}}

Revision as of 11:47, 26 November 2011

Hover & click on the images for description

Description

Description:
Sets the position of an object relative to the terrain.
Groups:
Uncategorised

Syntax

Syntax:
object setPosATL pos
Parameters:
object: Object
pos: Array - format PositionATL
Return Value:
Nothing

Examples

Example 1:
player setPosATL [ getPosATL player select 0, (getPosATL player select 1) - 10, getPosATL player select 2]

Additional Information

See also:
getPosATLgetPosgetPosASLsetPossetPosASL

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note