BIS_fnc_spawnOrdered

From Bohemia Interactive Community
Revision as of 10:31, 18 June 2019 by R3vo (talk | contribs) (added page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
/*
	Author: 
		Killzone_Kid

	Description:
		Spawns given function and executes it in the order it was called in case multiple calls are made.
		If mutex name is not specified, function name is used.

	Parameter(s):
		0: ANYTHING - function params
		1: STRING - function name in current namespace
		2: STRING (Optional) - mutex name

	Returns:
		BOOLEAN - false if function name is empty, otherwise true
		
	Example:
		myFnc = { diag_log [_this, canSuspend] };
		for "_i" from 0 to 1000 do { [_i, "myFnc"] call BIS_fnc_spawnOrdered };
*/
Informative
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_spawnOrdered
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:

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