ctrlSetModelScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= GUI Control |GROUP1= |gr1= GUI Control |GROUP1=" to "|gr1= GUI Control |GROUP1=")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.32


|1.32|Game version=
|gr1= GUI Control - Object


|gr1= GUI Control |GROUP1=
|gr2= GUI Control - Positioning
____________________________________________________________________________________________


| Sets 3D control model scale|DESCRIPTION=
|descr= Sets 3D control model scale
____________________________________________________________________________________________


| control '''ctrlSetModelScale''' scale |SYNTAX=
|s1= control [[ctrlSetModelScale]]  scale


|p1= control : [[Control]] - 3D control |PARAMETER1=
|p1= control : [[Control]] - 3D control
|p2= scale : [[Number]]  |PARAMETER2=


| [[Nothing]]|RETURNVALUE=
|p2= scale : [[Number]]


|r1= [[Nothing]]


|x1= <code>_ctrl3D [[ctrlSetModelScale]] 1.5;</code>|EXAMPLE1=
|x1= <sqf>_ctrl3D ctrlSetModelScale 1.5;</sqf>
____________________________________________________________________________________________


| [[ctrlModelDirAndUp]], [[ctrlCreate]], [[ctrlDelete]], [[ctrlModel]], [[ctrlSetModel]], [[ctrlSetModelDirAndUp]], [[ctrlModelScale]], [[ctrlPosition]], [[ctrlScale]], [[ctrlSetScale]], [[ctrlSetPosition]], [[ctrlClassName]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]] |SEEALSO=
|seealso= [[ctrlModelDirAndUp]] [[ctrlCreate]] [[ctrlDelete]] [[ctrlModel]] [[ctrlSetModel]] [[ctrlSetModelDirAndUp]] [[ctrlModelScale]] [[ctrlPosition]] [[ctrlScale]] [[ctrlSetScale]] [[ctrlSetPosition]] [[ctrlClassName]] [[vectorDir]] [[vectorUp]] [[setVectorDirAndUp]]
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:22, 13 May 2022

Hover & click on the images for description

Description

Description:
Sets 3D control model scale
Groups:
GUI Control - ObjectGUI Control - Positioning

Syntax

Syntax:
control ctrlSetModelScale scale
Parameters:
control : Control - 3D control
scale : Number
Return Value:
Nothing

Examples

Example 1:
_ctrl3D ctrlSetModelScale 1.5;

Additional Information

See also:
ctrlModelDirAndUp ctrlCreate ctrlDelete ctrlModel ctrlSetModel ctrlSetModelDirAndUp ctrlModelScale ctrlPosition ctrlScale ctrlSetScale ctrlSetPosition ctrlClassName vectorDir vectorUp setVectorDirAndUp

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