ctrlModelScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
 
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


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


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


| '''ctrlModelScale''' control |= Syntax
|descr= Returns 3D control model scale.


|p1= control : [[Control]] - 3D control |= PARAMETER1
|s1= [[ctrlModelScale]] control


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


|r1= [[Number]]


|x1= <code>_currentScale = [[ctrlModelScale]] _ctrl3D;</code>|= EXAMPLE1
|x1= <sqf>_currentScale = ctrlModelScale _ctrl3D;</sqf>
____________________________________________________________________________________________


| [[ctrlModelDirAndUp]], [[ctrlCreate]], [[ctrlDelete]], [[ctrlModel]], [[ctrlSetModel]], [[ctrlSetModelDirAndUp]], [[ctrlSetModelScale]], [[ctrlPosition]], [[ctrlScale]], [[ctrlSetScale]], [[ctrlSetPosition]], [[ctrlClassName]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]] |= SEEALSO
|seealso= [[ctrlModelDirAndUp]] [[ctrlCreate]] [[ctrlDelete]] [[ctrlModel]] [[ctrlSetModel]] [[ctrlSetModelDirAndUp]] [[ctrlSetModelScale]] [[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 21:23, 7 May 2022

Hover & click on the images for description

Description

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

Syntax

Syntax:
ctrlModelScale control
Parameters:
control : Control - 3D control
Return Value:
Number

Examples

Example 1:
_currentScale = ctrlModelScale _ctrl3D;

Additional Information

See also:
ctrlModelDirAndUp ctrlCreate ctrlDelete ctrlModel ctrlSetModel ctrlSetModelDirAndUp ctrlSetModelScale 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