BIS fnc 3DENShowMessage: Difference between revisions
Jump to navigation
Jump to search
m (added another example) |
m (Text replacement - " it's" to " it is") |
||
Line 19: | Line 19: | ||
|p2= title: [[String]] - (Optional, default "") Title header | |p2= title: [[String]] - (Optional, default "") Title header | ||
|p3= buttonOK: [[String]] - (Optional, default "") If [[String]] then it | |p3= buttonOK: [[String]] - (Optional, default "") If [[String]] then it is the text of the button. Can also be [[Array]] in format:<br> | ||
0: [[String]] - Text<br> | 0: [[String]] - Text<br> | ||
1: [[Code]] - Code executed when button is pressed | 1: [[Code]] - Code executed when button is pressed |
Revision as of 17:45, 7 September 2020
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:
- Eden EditorBIS_fnc_3DENCameraBIS_fnc_3DENControlsHintBIS_fnc_3DENDiagCreateListBIS_fnc_3DENDiagFontsBIS_fnc_3DENDiagMouseControlBIS_fnc_3DENDrawLocationsBIS_fnc_3DENEntityMenuBIS_fnc_3DENExportAttributesBIS_fnc_3DENExportOldSQMBIS_fnc_3DENExportTerrainBuilderBIS_fnc_3DENFlashlightBIS_fnc_3DENGridBIS_fnc_3DENIntelBIS_fnc_3DENInterfaceBIS_fnc_3DENListLocationsBIS_fnc_3DENMissionPreviewBIS_fnc_3DENModuleDescriptionBIS_fnc_3DENStatusBarBIS_fnc_3DENToolbarBIS_fnc_3DENTutorialBIS_fnc_3DENVisionMode
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