setPosASL2: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) | Lou Montana (talk | contribs)  m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") | ||
| (35 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{RV|type=command | ||
| | arma2 | |game1= arma2 | ||
| |version1= 1.00 | |||
| |1.00 | |game2= arma2oa | ||
| |version2= 1.50 | |||
| |game3= tkoh | |||
| |version3= 1.00 | |||
| |game4= arma3 | |||
| |version4= 0.50 | |||
| |gr1= Broken Commands | |gr1= Broken Commands | ||
| |gr2= Positions | |gr2= Positions | ||
| |descr= Sets the object position. The pos array uses the [[Position#PositionASL|PositionASL]] format. The version of the command does not offset based on object center.  | |||
| {{Feature|warning|This command was deactivated and has no effect. Use [[setPosWorld]] instead.}} | |||
| |  | |s1= obj [[setPosASL2]] pos | ||
| |p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
| Line 18: | Line 25: | ||
| |p2= pos: [[Array]] | |p2= pos: [[Array]] | ||
| | [[Nothing]] | |r1= [[Nothing]] | ||
| |x1= < | |x1= <sqf> | ||
| _aslPos set [1, _aslPos  | private _aslPos = getPosASL player; | ||
| _aslPos set [1, _aslPos select 1 + 10]; | |||
| player setPosASL2 _aslPos; | |||
| </sqf> | |||
| | [[setPosWorld]] [[getPosWorld]] [[setPosASL]] [[getPosASL]] | |seealso= [[setPosWorld]] [[getPosWorld]] [[setPosASL]] [[getPosASL]] | ||
| }} | }} | ||
| <dl class="command_description"> | |||
| <dl class= | |||
| < | <dt></dt> | ||
| <dd class="notedate">Posted on 21 Aug, 2013 | <dd class="notedate">Posted on 21 Aug, 2013</dd> | ||
| <dt class="note">[[User: | <dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt> | ||
| <dd class="note"> | <dd class="note"> | ||
| This command appears to do nothing in both Arma 2 and Arma 3. Tested on 21-08-2013. | This command appears to do nothing in both Arma 2 and Arma 3. Tested on 21-08-2013. | ||
| </dl> | </dl> | ||
Latest revision as of 11:34, 3 September 2024
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:
- Broken CommandsPositions
Syntax
- Syntax:
- obj setPosASL2 pos
- Parameters:
- obj: Object
- pos: Array
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- setPosWorld getPosWorld setPosASL getPosASL
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
- Posted on 21 Aug, 2013
- Killzone_Kid
- This command appears to do nothing in both Arma 2 and Arma 3. Tested on 21-08-2013.
 
	


