BIS fnc getIDD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:\{\{Name|[a-z0-9]+\}\}: Functions\|\{\{uc:[a-zA-Z0-9]+\}\}\]\]" to "")
m (Text replacement - " +\] +" to "] ")
 
(12 intermediate revisions by the same user not shown)
Line 11: Line 11:
|descr= Returns IDD of given display.
|descr= Returns IDD of given display.


|s1=[config] call [[BIS_fnc_getIDD]]
|s1= [config] call [[BIS_fnc_getIDD]]


|p1= config: [[Config]] - Config path to display
|p1= config: [[Config]] - config path to display


|r1=[[Number]] - IDD
|r1= [[Number]] - IDD


|x1= <code>_IDD = [<nowiki/>[[configFile]] >> "display3DENPublishMissionSelectImage" ] [[call]] [[BIS_fnc_getIDD]];</code>
|x1= <sqf>private _IDD = [configFile >> "display3DENPublishMissionSelectImage"] call BIS_fnc_getIDD;</sqf>


|seealso= [[configFile]], [[findDisplay]], [[createDisplay]]
|seealso= [[configFile]] [[findDisplay]] [[createDisplay]]
}}
}}
||

Latest revision as of 17:49, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns IDD of given display.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[config] call BIS_fnc_getIDD
Parameters:
config: Config - config path to display
Return Value:
Number - IDD

Examples

Example 1:
private _IDD = [configFile >> "display3DENPublishMissionSelectImage"] call BIS_fnc_getIDD;

Additional Information

See also:
configFile findDisplay createDisplay

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