Difference between revisions of "setPosASL"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 30: Line 30:
 
<dl class="command_description">
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
 
+
setPosASL is used to define positions above sea level
 
<!-- Note Section END -->
 
<!-- Note Section END -->
 
</dl>
 
</dl>

Revision as of 00:32, 2 March 2007

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

Description

Description:
Sets the object position. The pos array uses the PositionASL format.
Groups:
Uncategorised

Syntax

Syntax:
obj setPosASL pos
Parameters:
obj: Object
pos: Array
Return Value:
Nothing

Examples

Example 1:
player setPosASL [ getPosASL player select 0, (getPosASL player select 1) + 10, getPosASL player select 2]

Additional Information

See also:
See also needed

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

setPosASL is used to define positions above sea level

Bottom Section