ctrlMapPosition: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
|gr1= GUI Control - Map | |gr1= GUI Control - Map | ||
|descr= A getter for [[ctrlMapSetPosition]]. Returns map position in format [x, y, w, h]. If map is inside a Controls | |descr= A getter for [[ctrlMapSetPosition]]. Returns map position in format [x, y, w, h]. If map is inside a Controls Group, the x and y position is relative to the Controls Group top left corner. | ||
|s1= [[ctrlMapPosition]] map | |s1= [[ctrlMapPosition]] map |
Revision as of 22:11, 8 October 2021
Description
- Description:
- A getter for ctrlMapSetPosition. Returns map position in format [x, y, w, h]. If map is inside a Controls Group, the x and y position is relative to the Controls Group top left corner.
- Groups:
- GUI Control - Map
Syntax
- Syntax:
- ctrlMapPosition map
- Parameters:
- map: Control - Map control
- Return Value:
- Array - [x, y, w, h]
Examples
- Example 1:
ctrlMapPosition _map;
Additional Information
- See also:
- ctrlMapSetPositionctrlCreate
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