ctrlSetModelScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(formatting and new command group)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3


|1.32
|version1= 1.32


|gr1= GUI Control - Object
|gr1= GUI Control - Object


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


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


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


| [[Nothing]]
|r1= [[Nothing]]


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

Revision as of 12:07, 5 March 2021

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:
ctrlModelDirAndUpctrlCreatectrlDeletectrlModelctrlSetModelctrlSetModelDirAndUpctrlModelScalectrlPositionctrlScalectrlSetScalectrlSetPositionctrlClassNamevectorDirvectorUpsetVectorDirAndUp

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