From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Convert latitude/longtitude coordinates into game world position.
World config has to contain following settings to convert the position correctly.
// Required for scripting
mapSize = 61440;
mapZone = 10;
mapArea[] = {
-122.754367782585,47.3272454065969,
-121.930117859276,47.8753494907418
};
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [latitude,longtitude] call BIS_fnc_posDegToWorld;
- Parameters:
- latitude: Number
- longtitude - Number
- Return Value:
- Array - [northing,easting,zone]
Examples
- Example 1:
[47.63959,-122.127249] call BIS_fnc_posDegToWorld;
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
Bottom Section