locationPosition

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.08
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.08

Description

Description:
Returns the position of a location. If the location is attached to an object, that object's position is returned.

Syntax

Syntax:
locationPosition location
Parameters:
location: Location
Return Value:
Array - format Position

Examples

Example 1:
_locationPos = locationPosition myLocation;
Example 2:
_location = nearestLocation [getPos player, "nameCity"]; _locationPos = locationPosition _location;

Additional Information

Multiplayer:
-
See also:
setPositioncreateLocationnearestLocationnearestLocationsposition

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on October 24, 2015 - 19:20 (UTC)
Tankbuster
locationPosition returns a position that is altitude zero ASL.