BIS fnc curatorAutomatic: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 26: | Line 26: | ||
|r1= [[Array]] of [[Group]]s | |r1= [[Array]] of [[Group]]s | ||
|x1= <code>[curator_module, [west, independent, 0.1, 40, 30, 20, 10] call | |x1= <code>[curator_module, [west, independent, 0.1, 40, 30, 20, 10] call BIS_fnc_curatorAutomatic;</code> | ||
|seealso= [[Arma 3: Curator]] | |seealso= [[Arma 3: Curator]] | ||
}} | }} |
Revision as of 16:56, 13 July 2022
Description
- Description:
- Spawn units based on curator settings. Used when curator role is not taken.
- Execution:
- call
- Groups:
- Curator
Syntax
- Syntax:
- [curator, sides, cheatCoef, infantryProb, groundProb, airProb, marineProb] call BIS_fnc_curatorAutomatic
- Parameters:
- curator: Object - Curator module, costs and coefficients will be read from it
- sides: Array - Array of sides of the placed entities
- cheatCoef: Number - Cheat coefficient (1 means default costs, 0.5 means 50% values; allows spawning of more units)
- infantryProb: Number - Infantry probability (probabilities are compared together, the ones with higher number have better chance of spawning)
- groundProb: Number - Ground vehicle probability
- airProb: Number - Aicraft probability
- marineProb: Number - Marine probability
- Return Value:
- Array of Groups
Examples
- Example 1:
[curator_module, [west, independent, 0.1, 40, 30, 20, 10] call BIS_fnc_curatorAutomatic;
Additional Information
- See also:
- Arma 3: Curator
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