BIS_fnc_curatorAutomatic

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

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