BIS fnc 3DENShowMessage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
|s1= [text, title, buttonOK, buttonCancel, icon, parentDisplay] call [[BIS_fnc_3DENShowMessage]] | |s1= [text, title, buttonOK, buttonCancel, icon, parentDisplay] call [[BIS_fnc_3DENShowMessage]] | ||
|p1= text: [[String]] - | |p1= text: [[String]] - text to display | ||
|p2= title: [[String]] - (Optional, default "") | |p2= title: [[String]] - (Optional, default "") title header | ||
|p3= buttonOK: [[String]], [[Boolean]] or [[Array]] - (Optional, default "") can be one of: | |p3= buttonOK: [[String]], [[Boolean]] or [[Array]] - (Optional, default "") can be one of: | ||
Line 34: | Line 34: | ||
** [[Code]] - code executed when button is pressed | ** [[Code]] - code executed when button is pressed | ||
|p5= icon: [[String]] - (Optional, default "") | |p5= icon: [[String]] - (Optional, default "") path to an icon which will be shown on the left side of the message | ||
|p6= parentDisplay: [[Display]] - (Optional, default <sqf inline>findDisplay 313</sqf> (Eden Display)) display from which the window is opened | |p6= parentDisplay: [[Display]] - (Optional, default <sqf inline>findDisplay 313</sqf> (Eden Display)) display from which the window is opened |
Latest revision as of 15:50, 8 November 2023
Description
- Description:
- Shows a pop-up message. In order to skip any optional parameter in between other parameters, send nil as parameter.
- Execution:
- call
- Groups:
- Eden Editor
Syntax
- Syntax:
- [text, title, buttonOK, buttonCancel, icon, parentDisplay] call BIS_fnc_3DENShowMessage
- Parameters:
- text: String - text to display
- title: String - (Optional, default "") title header
- buttonOK: String, Boolean or Array - (Optional, default "") can be one of:
- buttonCancel: String, Boolean or Array - (Optional, default "") can be one of:
- 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 (Eden Display)) display from which the window is opened
- Return Value:
- Display
Examples
- Example 1:
- Example 2:
- Example 3:
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