ctrlSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(+ category)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets wanted position for control animation. |= Description
| Sets wanted position and size for control animation.
 
Width and height are optional.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| control '''ctrlSetPosition''' [x, y] |= Syntax
| control '''ctrlSetPosition''' [x, y, w, h] |= Syntax


|p1= control: [[Control]] |= Parameter 1
|p1= control: [[Control]] |= Parameter 1


|p2= [x, y]: [[Array]] |= Parameter 2
|p2= [x, y, w, h]: [[Array]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 22:26, 21 July 2007

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

Description

Description:
Sets wanted position and size for control animation. Width and height are optional.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetPosition [x, y, w, h]
Parameters:
control: Control
[x, y, w, h]: 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

Posted on January 27, 2007 - 19:13
Giova
IMPORTANT You have to use ctrlCommit command to apply this effect(Arma v1.02.5103GER)

Bottom Section