ctrlModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.32
|1.32


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


| Returns model used in 3D-[[Arma: GUI Configuration|Dialog]].
|descr= Returns model used in 3D-[[Arma: GUI Configuration|Dialog]].


| '''ctrlModel''' control
|s1= [[ctrlModel]] control


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


| [[String]] - model path
|r1= [[String]] - model path
 
|x1= <code>_model = [[ctrlModel]] _control3D;</code>


|x1= <sqf>_model = ctrlModel _control3D;</sqf>


| [[ctrlCreate]], [[ctrlDelete]], [[ctrlSetModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[displayCtrl]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]]
|seealso= [[ctrlCreate]] [[ctrlDelete]] [[ctrlSetModel]] [[ctrlPosition]] [[ctrlSetPosition]] [[ctrlClassName]] [[displayCtrl]] [[ctrlModelScale]] [[ctrlSetModelScale]] [[ctrlModelDirAndUp]] [[ctrlSetModelDirAndUp]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{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