ctrlMapWorldToScreen: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
(Fixed example) |
||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |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
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