ctrlSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add. see also)
(updated)
Line 44: Line 44:
[[Category:Scripting Commands ArmA|CTRLSETPOSITION]]
[[Category:Scripting Commands ArmA|CTRLSETPOSITION]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 17:05, 3 June 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:
ctrlPosition

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