BIS fnc posDegToWorld: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
mNo edit summary |
||
Line 44: | Line 44: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Function Group: Map|{{uc:posDegToWorld}}]] | |||
[[Category: | [[Category:Functions|{{uc:posDegToWorld}}]] | ||
[[Category: | [[Category:{{Name|tkoh}}: Functions|{{uc:posDegToWorld}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:posDegToWorld}}]] |
Revision as of 16:02, 25 July 2014
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; //--- Can differ from mapArea size, as ingame world can be resized mapZone = 10; //--- UTM zone mapArea[] = { //--- lon/lat coordinates (not in UTM to assure .kml precision) -122.754367782585,47.3272454065969, //--- Bottom Left -121.930117859276,47.8753494907418 //--- Top Right };
- 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