BIS fnc 3DENShowMessage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (filled page)
Line 1: Line 1:
{{Function|Comments=
{{Function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3


|1.00|Game version=
|version1= 1.58
____________________________________________________________________________________________


| ''N/A'' |Description=
<!--|exec= server|=-->
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_3DENShowMessage]]; --> |Syntax=
<!--|arg= local-->


|p1= |Parameter 1=
<!--|eff= local-->


| |Return value=
|descr= Shows a pop-up message.
____________________________________________________________________________________________


|x1= <code></code> |Example 1=
|s1= [text, title, buttonOK, buttonCancel, icon] [[call]] [[BIS_fnc_3DENShowMessage]]
____________________________________________________________________________________________
 
|p1= text: [[String]] - Text to display
 
|p2= title: [[String]] - (Optional, default "") Title header
 
|p3= buttonOK: [[String]] - (Optional, default "") If [[String]] then it's the text of the button. Can also be [[Array]] in format:<br>
0: [[String]] - Text
1: [[Code]] - Code executed when button is pressed
 
|p4= buttonCancel: [[String]] - (Optional, default "") Same as buttonOK
 
|p5= icon: [[String]] - (Optional, default "") Path to an icon which will be shown on the left side of the message
 
|p5= parentDisplay: [[Display]] - (Optional, default [[findDisplay]] 313 (Display Eden)) Display from which the window is opened from
 
|r1= [[Display]]
 
|x1= <code>["Message","Title of the Message"] [[call]] [[BIS_fnc_3DENShowMessage]];</code>
 
|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]]


| [[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]] |See also=
}}
}}



Revision as of 02:01, 9 January 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's 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
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;

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

Notes

Bottom Section