BIS fnc guiMessage: Difference between revisions
Jump to navigation
Jump to search
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | TKOH |= Game name |1.00|= Game version ____________________...") |
mNo edit summary |
||
Line 20: | Line 20: | ||
| [[Array]] - [endState, (lbId)] | | [[Array]] - [endState, (lbId)] | ||
* endState: [[Boolean]] - true when clicked OK button, false when escaped or | * endState: [[Boolean]] - [[true]] when clicked OK button, [[false]] when escaped or clicked on Cancel button | ||
* lbId: [[Number]] - selected listbox item (when listbox was used) | * lbId: [[Number]] - selected listbox item (when listbox was used) | ||
Returned only after message windows was closed.|= Return value | Returned only after message windows was closed.|= Return value |
Revision as of 08:59, 21 October 2011
Description
- Description:
- Send function for remote execution (and executes locally if conditions are met) .
- Execution:
- spawn
- Groups:
- Uncategorised
Syntax
- Syntax:
- [message, (header, position, isCancel, parent, pause)] spawn BIS_fnc_guiMessage;
- Parameters:
- message: String or Structured Text or Array - message or array of items (listbox will be displayed instead)
- header (Optional): String or Structured Text - header
- position (Optional): Array - position in format [x,y,w,h]
- isCancel (Optional): Boolean or Array - true to display cancel button or array with button texts [okText,cancelText]
- parent (Optional): Display - parent display
- pause (Optional): Boolean - true to pause simulation when message window is open
- Return Value:
- Array - [endState, (lbId)] Returned only after message windows was closed.
Examples
- Example 1:
["Hello World"] spawn BIS_fnc_guiMessage;
- Example 2:
["Message","Header",nil,true] spawn BIS_fnc_guiMessage;
Result:
Additional Information
- See also:
- See also needed
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