setPosASL2: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
(add: all :)) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Sets the object position. The pos array uses the [[PositionASL]] format. The version of the command does not offset based on object center. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ''' | | '''setPosASL2''' |= Syntax | ||
|p1= |= PARAMETER1 | |p1= obj: [[Object]] |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= pos: [[Array]] |= PARAMETER2 | ||
|p3= |= PARAMETER3 | |p3= |= PARAMETER3 | ||
| |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
|x1= <code> | |x1= <code>player '''setPosASL2''' <nowiki>[</nowiki>[[getPosASL]] player select 0, [[getPosASL]] player select 1 + 10, [[getPosASL]] select 2] </code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setPosASL]] |= SEEALSO | | [[setPosASL]] [[getPosASL]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 20:11, 26 August 2009
Description
- Description:
- Sets the object position. The pos array uses the PositionASL format. The version of the command does not offset based on object center.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
player setPosASL2 [getPosASL player select 0, getPosASL player select 1 + 10, getPosASL select 2]
Additional Information
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