ctrlSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|CTRLSETPOSITION]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|CTRLSETPOSITION]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">'''''control'' ctrlSetPosition ''[x, y]'''''</h2>
|2.5|= Game version
____________________________________________________________________________________________


| Sets wanted position for control animation. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| control '''ctrlSetPosition''' [x, y] |= Syntax


'''control''': [[Control]]
|p1= control [[Control]] |= Parameter 1
   
'''[x, y]''': [[Array]]


'''Type of returned value:'''
|p2= [x, y] [[Array]] |= Parameter 2


[[Nothing]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_control ctrlSetPosition [0.5, 0.5]</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Version 2.50 required.
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Sets wanted position for control animation.
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>


'''Example''':
[[Category:Scripting Commands|CTRLSETPOSITION]]
   
[[Category:Scripting Commands ArmA|CTRLSETPOSITION]]
_control '''ctrlSetPosition''' [0.5, 0.5]

Revision as of 23:30, 1 August 2006

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

Description

Description:
Sets wanted position for control animation.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetPosition [x, y]
Parameters:
control Control
[x, y] Array
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetPosition [0.5, 0.5]

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