BIS_fnc_curatorAutomatic

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.16
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.16

Description

Description:
Spawn units based on curator settings. Used when curator role is not taken.

Syntax

Syntax:
[curator,sides,cheatCoef,infantyProb,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)
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:
Array of groups

Examples

Example 1:
[curator_module,[ west, independent ,0.1,40,30,20,10] call BIS_fnc_curatorAutomatic;

Additional Information

Execution:
call
Multiplayer:
-
See also:
Curator

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To



Notes

Bottom Section