ctrlModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
 
(30 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=
|descr= Returns model used in 3D-[[Arma: GUI Configuration|Dialog]].


|s1= [[ctrlModel]] control


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


|gr1= GUI Control |GROUP1=
|r1= [[String]] - model path
____________________________________________________________________________________________


| Returns model used in 3D-[[Arma: GUI Configuration|Dialog]]. |DESCRIPTION=
|x1= <sqf>_model = ctrlModel _control3D;</sqf>
____________________________________________________________________________________________


| '''ctrlModel''' control|SYNTAX=
|seealso= [[ctrlCreate]] [[ctrlDelete]] [[ctrlSetModel]] [[ctrlPosition]] [[ctrlSetPosition]] [[ctrlClassName]] [[displayCtrl]] [[ctrlModelScale]] [[ctrlSetModelScale]] [[ctrlModelDirAndUp]] [[ctrlSetModelDirAndUp]]
 
|p1= control : [[Control]] - 3D control |=
 
| [[String]] - model path|RETURNVALUE=
 
 
|x1= <code>_model = [[ctrlModel]] _control3D;</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
[[ctrlCreate]], [[ctrlDelete]], [[ctrlSetModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[displayCtrl]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]] |SEEALSO=
 
|  |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:24, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns model used in 3D-Dialog.
Groups:
GUI Control - Object

Syntax

Syntax:
ctrlModel control
Parameters:
control : Control - 3D control
Return Value:
String - model path

Examples

Example 1:
_model = ctrlModel _control3D;

Additional Information

See also:
ctrlCreate ctrlDelete ctrlSetModel ctrlPosition ctrlSetPosition ctrlClassName displayCtrl ctrlModelScale ctrlSetModelScale ctrlModelDirAndUp ctrlSetModelDirAndUp

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