setPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the position of a location. |= Description
| Sets the position of a location. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| location '''setPosition''' pos |= Syntax
| location '''setPosition''' pos |SYNTAX=


|p1= location: [[Location]] |= Parameter 1
|p1= location: [[Location]] |PARAMETER1=
|p2= pos: [[Array]] - format [[Position]] |= Parameter 2
|p2= pos: [[Array]] - format [[Position]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>myLocation setPosition [1000,5320,10]</pre> |= Example 1
|x1= <pre>myLocation setPosition [1000,5320,10]</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[locationPosition]] |= See also
| [[locationPosition]] |SEEALSO=


}}
}}

Revision as of 15:48, 7 April 2019

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Sets the position of a location.
Groups:
Uncategorised

Syntax

Syntax:
location setPosition pos
Parameters:
location: Location
pos: Array - format Position
Return Value:
Nothing

Examples

Example 1:
myLocation setPosition [1000,5320,10]

Additional Information

See also:
locationPosition

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

Notes

Bottom Section