ctrlSetPosition: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "</dd>" to "") |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 45: | Line 45: | ||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:01, 2 November 2011
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)