BIS fnc curatorAutomatic: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "{{RV|type=function | arma3 |1.16 |gr1= Curator | " to "{{RV|type=function |game1= arma3 |version1= 1.16 |gr1= Curator |descr= ") |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|1.16 | |version1= 1.16 | ||
|gr1= Curator | |gr1= Curator | ||
| Spawn units based on curator settings. Used when curator role is not taken. | |descr= Spawn units based on curator settings. Used when curator role is not taken. | ||
| [curator,sides,cheatCoef,infantyProb,groundProb,airProb,marineProb] call [[BIS_fnc_curatorAutomatic]] | | [curator,sides,cheatCoef,infantyProb,groundProb,airProb,marineProb] call [[BIS_fnc_curatorAutomatic]] |
Revision as of 18:21, 9 June 2021
Description
- Description:
- Spawn units based on curator settings. Used when curator role is not taken.
- Execution:
- call
- Groups:
- Curator
Syntax
- Syntax:
- Syntax needed
- 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)
- infantyProb: 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:
- Return value needed
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