ctrlSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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

Revision as of 19:50, 21 January 2009

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