ctrlSetModelScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.29|= Game version _________________...")
 
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(41 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


|1.29|= Game version
|gr1= GUI Control - Object
____________________________________________________________________________________________


| Sets 3D control model scale|= Description
|gr2= GUI Control - Positioning
____________________________________________________________________________________________


| control '''ctrlSetModelScale''' scale |= Syntax
|descr= Sets 3D control model scale


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


| [[Nothing]]|= RETURNVALUE
|p1= control : [[Control]] - 3D control


|p2= scale : [[Number]]


|x1= <code>_ctrl3D [[ctrlModelScale]] 1.5;</code>|= EXAMPLE1
|r1= [[Nothing]]
____________________________________________________________________________________________


| [[ctrlModelDirAndUp]], [[ctrlCreate]], [[ctrlDelete]], [[ctrlModel]], [[ctrlSetModel]], [[ctrlSetModelDirAndUp]], [[ctrlModelScale]], [[ctrlPosition]], [[ctrlScale]], [[ctrlSetScale]], [[ctrlSetPosition]], [[ctrlClassName]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]] |= SEEALSO
|x1= <sqf>_ctrl3D ctrlSetModelScale 1.5;</sqf>


| |= MPBEHAVIOUR
|seealso= [[ctrlModelDirAndUp]] [[ctrlCreate]] [[ctrlDelete]] [[ctrlModel]] [[ctrlSetModel]] [[ctrlSetModelDirAndUp]] [[ctrlModelScale]] [[ctrlPosition]] [[ctrlScale]] [[ctrlSetScale]] [[ctrlSetPosition]] [[ctrlClassName]] [[vectorDir]] [[vectorUp]] [[setVectorDirAndUp]]
____________________________________________________________________________________________
}}
}}
<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