posScreenToWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (reset arma ver)
No edit summary
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
|x1= <pre>_WorldCoord = _Control posScreenToWorld _ScreenCoord</pre> |= Example 1
|x2= <pre>_WorldCoord = _Control posScreenToWorld [_x,_y]</pre> |= Example 2
_______________________________________________________________________
 
| [[ctrlMapScreenToWorld]], [[ctrlMapWorldToScreen]], [[posWorldToScreen]] |= See also


}}
}}

Revision as of 08:55, 7 April 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Convert screen coordinates in map to world coordinates.
Groups:
Uncategorised

Syntax

Syntax:
map posScreenToWorld [x,y]
Parameters:
map: Control
[x, y]: Array
Return Value:
Array

Examples

Example 1:
_WorldCoord = _Control posScreenToWorld _ScreenCoord
Example 2:
_WorldCoord = _Control posScreenToWorld [_x,_y]

Additional Information

See also:
ctrlMapScreenToWorldctrlMapWorldToScreenposWorldToScreen

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