BIS fnc 3DENShowMessage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " it's" to " it is")
mNo edit summary
Line 50: Line 50:
|exec= call
|exec= call


|seealso= [[Eden Editor]],[[BIS_fnc_3DENCamera]],[[BIS_fnc_3DENControlsHint]],[[BIS_fnc_3DENDiagCreateList]],[[BIS_fnc_3DENDiagFonts]],[[BIS_fnc_3DENDiagMouseControl]],[[BIS_fnc_3DENDrawLocations]],[[BIS_fnc_3DENEntityMenu]],[[BIS_fnc_3DENExportAttributes]],[[BIS_fnc_3DENExportOldSQM]],[[BIS_fnc_3DENExportTerrainBuilder]],[[BIS_fnc_3DENFlashlight]],[[BIS_fnc_3DENGrid]],[[BIS_fnc_3DENIntel]],[[BIS_fnc_3DENInterface]],[[BIS_fnc_3DENListLocations]],[[BIS_fnc_3DENMissionPreview]],[[BIS_fnc_3DENModuleDescription]],[[BIS_fnc_3DENStatusBar]],[[BIS_fnc_3DENToolbar]],[[BIS_fnc_3DENTutorial]],[[BIS_fnc_3DENVisionMode]]
|seealso= [[BIS_fnc_guiMessage]] |SEEALSO=


}}
}}

Revision as of 18:08, 1 October 2020

Hover & click on the images for description

Description

Description:
Shows a pop-up message.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[text, title, buttonOK, buttonCancel, icon] call BIS_fnc_3DENShowMessage
Parameters:
text: String - Text to display
title: String - (Optional, default "") Title header
buttonOK: String - (Optional, default "") If String then it is the text of the button. Can also be Array in format:
0: String - Text
1: Code - Code executed when button is pressed
buttonCancel: String - (Optional, default "") Same as buttonOK
icon: String - (Optional, default "") Path to an icon which will be shown on the left side of the message
parentDisplay: Display - (Optional, default findDisplay 313 (Display Eden)) Display from which the window is opened from
Return Value:
Display

Examples

Example 1:
["Message","Title of the Message"] call BIS_fnc_3DENShowMessage;
Example 2:
[ "Are you sure you want to delete / modify the selected variables?", "Delete / Modify", [ "Yes", {BIS_Message_Confirmed = true} ], [ "No", {BIS_Message_Confirmed = false} ], "\A3\ui_f\data\map\markers\handdrawn\warning_CA.paa", findDisplay 313 ] call BIS_fnc_3DENShowMessage;// A confirm window

Additional Information

See also:
BIS_fnc_guiMessage

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

Notes

Bottom Section