ctrlMapWorldToScreen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
(Fixed example)
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_posn2d<nowiki>=</nowiki>ctrlMapWorldToScreen _control1</code> |= Example 1
|x1= <pre>_screenCoord = _control ctrlMapWorldToScreen _worldCoord;</pre> |= Example 1
|x2= <pre>_screenCoord = _control ctrlMapWorldToScreen (position player);</pre> |= Example 2
 
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:17, 16 June 2010

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

Description

Description:
Transfers a map control world position to screen coordinates.
Groups:
Uncategorised

Syntax

Syntax:
ctrlMapWorldToScreen controlName
Parameters:
controlName: Control
Return Value:
Array (Position2D Format)

Examples

Example 1:
_screenCoord = _control ctrlMapWorldToScreen _worldCoord;
Example 2:
_screenCoord = _control ctrlMapWorldToScreen (position player);

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