ctrlPosition: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
No edit summary |
||
Line 39: | Line 39: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on May 22, 2017 - 23:02 (UTC)</dd> | |||
<dt class="note">[[User:Lucian|Lucian]]</dt> | |||
<dd class="note"> | |||
When to ctrl is part of a CtrlGroup the returned position is relative to the ctrlGroups position. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 00:02, 23 May 2017
Description
- Description:
- Returns the current position of 2D control as [x, y, w, h] array. For 3D control it returns relative [x,y,z].
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_pos = ctrlPosition _control;
Additional Information
- See also:
- ctrlCreatectrlDeletectrlModelctrlSetModelctrlSetPositionctrlClassNamedisplayCtrlctrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUp
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
- Posted on May 22, 2017 - 23:02 (UTC)
- Lucian
- When to ctrl is part of a CtrlGroup the returned position is relative to the ctrlGroups position.