Fandom

武装突袭 Wiki

BIS_fnc_posDegToWorld

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.00

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
};

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

Execution:
call
Multiplayer:
-
See also:

See also needed

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

更多维基

随机维基