BIS fnc spawnOrdered: 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]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2") |
||
Line 16: | Line 16: | ||
|p3= mutexName: [[String]] - (Optional, default functionName) this is a reference to group of spawns. It's saved in the [[missionNamespace]] variable '''BIS_fnc_spawnOrdered_mutexName''' | |p3= mutexName: [[String]] - (Optional, default functionName) this is a reference to group of spawns. It's saved in the [[missionNamespace]] variable '''BIS_fnc_spawnOrdered_mutexName''' | ||
|r1= [[Boolean]] - | |r1= [[Boolean]] - returns [[false]] if function name is empty, otherwise [[true]] | ||
|x1= <sqf> | |x1= <sqf> |
Latest revision as of 15:47, 8 November 2023
Description
- 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.
- Execution:
- call
- Groups:
- Program Flow
Syntax
- Syntax:
- [params, functionName, mutexName] call BIS_fnc_spawnOrdered
- Parameters:
- params: Anything - function parameters
- functionName: String - function name in current namespace
- mutexName: String - (Optional, default functionName) this is a reference to group of spawns. It's saved in the missionNamespace variable BIS_fnc_spawnOrdered_mutexName
- Return Value:
- Boolean - returns false if function name is empty, otherwise true
Examples
- Example 1:
Additional Information
- See also:
- spawn
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