ctrlMapScreenToWorld: Difference between revisions
Jump to navigation
Jump to search
m (new command needs populating.) |
No edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Convert screen coordinates in map to world coordinates. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''ctrlMapScreenToWorld''' |= Syntax | | '''map ctrlMapScreenToWorld [x,y]''' |= Syntax | ||
|p1= | |p1= map: [[Control]] |= Parameter 1 | ||
| | |p2= [x, y]: [[Array]] |= Parameter 2 | ||
|Array|= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= | |x1= <pre>_WorldCoord = _Control ctrlMapScreenToWorld _ScreenCoord</pre> |= Example 1 | ||
|x2= <pre>_WorldCoord = _Control ctrlMapScreenToWorld [_x,_y]</pre> |= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[ctrlMapWorldToScreen]], [[posScreenToWorld]], [[posWorldToScreen]] |= See also | ||
}} | }} |
Revision as of 22:23, 6 April 2007
Description
- Description:
- Convert screen coordinates in map to world coordinates.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_WorldCoord = _Control ctrlMapScreenToWorld _ScreenCoord
- Example 2:
_WorldCoord = _Control ctrlMapScreenToWorld [_x,_y]
Additional Information
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