Determine clothing etc for civilians
Attribute | Default Value | Explanation |
---|---|---|
backpackProbability | 0.5 | Probability that a civilian will wear a backpack |
backpacks | [] | All classnames of backpacks that civilians may wear. |
clothes | [] | All classnames of clothes that civilians may wear. |
faces | [] | All classnames of faces that civilians may have. |
goggles | [] | All classnames of goggles that civilians may wear. |
headgear | [] | All classnames of headgear that civilians may wear. |
Sets all clothes that civilians may wear. Overwrites value from CBA settings. Execute globally
[clothes] call grad_civs_loadout_fnc_setClothes
Parameter | Explanation |
---|---|
clothes | Array - All classnames of clothes that civilians may wear. |
Sets all faces that civilians may have. Overwrites value from CBA settings. Execute globally
[faces] call grad_civs_loadout_fnc_setFaces
Parameter | Explanation |
---|---|
faces | Array - All classnames of faces that civilians may have. |
Sets all goggles that civilians may wear. Overwrites value from CBA settings. Execute globally
[goggles] call grad_civs_loadout_fnc_setGoggles
Parameter | Explanation |
---|---|
goggles | Array - All classnames of goggles that civilians may wear. |
Sets all headgear that civilians may wear. Overwrites value from CBA settings. Execute globally
[headgear] call grad_civs_loadout_fnc_setHeadgear
Parameter | Explanation |
---|---|
headgear | Array - All classnames of clothes that civilians may wear. |
Sets all backpacks that civilians may wear and sets probability. Overwrites value from CBA settings. Execute globally
[backpacks,probability] call grad_civs_loadout_fnc_setHeadgear
Parameter | Explanation |
---|---|
backpacks | Array - All classnames of clothes that civilians may wear. |
probability | Number - Probability that civilian will wear a backpack. Default: 0.5. |