ctrlPosition: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.5|= Game version | |||
____________________________________________________________________________________________ | |||
| Returns the current position of control as [x, y] array. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''ctrlPosition''' control |= Syntax | ||
|p1= control [[Control]] |= Parameter 1 | |||
| [[Array]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>_pos = ctrlPosition _control</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|CTRLPOSITION]] | |||
[[Category:Scripting Commands ArmA|CTRLPOSITION]] | |||
Revision as of 23:15, 1 August 2006
Description
- Description:
- Returns the current position of control as [x, y] array.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_pos = ctrlPosition _control
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