BIS fnc guiMessage TKOH: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - " " to " ")
Line 42: Line 42:
|exec= spawn
|exec= spawn
}}
}}




[[Category:Take_On_Helicopters:_Functions|guiMessage]]
[[Category:Take_On_Helicopters:_Functions|guiMessage]]
[[Category:Function Group: GUI|guiMessage]]
[[Category:Function Group: GUI|guiMessage]]

Revision as of 23:09, 31 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
Syntax needed
Parameters:
message: String, Structured Text or Array: When variable BIS_fnc_guiMessage_cursel is defined as a Number, item with this index will be selected.
header: String or Structured Text - (Optional, default "") header text
position: Array - (Optional) position in format [x,y,w,h]
isCancel: Boolean or Array - (Optional, default true) true to display cancel button or array with button texts [okText, cancelText]
parent: Display - (Optional) parent display
pause: Boolean - (Optional) true to pause simulation when message window is open
Return Value:
Return value needed

Examples

Example 1:
["Hello World"] spawn BIS_fnc_guiMessage;
Example 2:
TakeOn BIS fnc guiMessage.jpg
["Message", "Header", nil, true] spawn BIS_fnc_guiMessage;
Example 3:
[["Enabled Item", ["Disabled Item"]], "Header"] spawn BIS_fnc_guiMessage;

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