BIS_fnc_spawnGroup
Jump to navigation
Jump to search
Description
- Description:
/* File: spawnGroup.sqf Description: Function which handles the spawning of a dynamic group of characters. The composition of the group can be passed to the function. Alternatively a number can be passed and the function will spawn that amount of characters with a random type. Parameter(s): _this select 0: the group's starting position (Array) _this select 1: the group's side (Side) _this select 2: can be three different types: - list of character types (Array) - amount of characters (Number) - CfgGroups entry (Config) _this select 3: (optional) list of relative positions (Array) _this select 4: (optional) list of ranks (Array) _this select 5: (optional) skill range (Array) _this select 6: (optional) ammunition count range (Array) _this select 7: (optional) randomization controls (Array) 0: amount of mandatory units (Number) 1: spawn chance for the remaining units (Number) _this select 8: (optional) azimuth (Number) _this select 9: (optional) force precise position (Bool, default: true). _this select 10: (optional) max. number of vehicles (Number, default: 10e10). Returns: The group (Group) */ //Validate parameter count
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
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