BIS fnc kbMenu: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|+$" to "")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
Line 32: Line 32:
|r1=
|r1=


|x1= <!-- <code>[] call [[BIS_fnc_kbMenu]];</code> -->
|x1= <!-- <sqf>[] call BIS_fnc_kbMenu;</sqf> -->


|seealso=
|seealso=
}}
}}

Latest revision as of 14:09, 5 May 2022

Hover & click on the images for description

Description

Description:
/*

	Description:
	Opens conversation menu. Script terminates itself when menu selection is finished.

	Parameter(s):
	_this select 0: ARRAY or STRING - List of responses (of type ARRAY) or Menu name
		Responses are in format:
		_response select 0: STRING or ANY - Display name when STRING, otherwise used as default option when menu is closed without selecting anything.
		_response select 1:
			STRING - expression
			ARRAY - BIS_fnc_kbTell params

	Returns:
	NUMBER - ID of select option
*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Conversations

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

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