Description
Changes AI skill based on player count, responding to player connected / player disconnected events. This function does exactly the same as BIS_fnc_EXP_camp_setSkill execept that it automatically executes when a player joins or disconnects.
Syntax
[mode, affectedSides] call BIS_fnc_EXP_camp_dynamicAISkill
Parameters:
mode: Boolean - (Optional, default true) true to enable, false to disableaffectedSides: Array - array of affected sides and their skill sets. For details see BIS_fnc_EXP_camp_setSkill
Returns: Nothing
Examples
Example 1
[
true,
[
[WEST, 0.1, 0.2, 0.7, 0.6],
[EAST, 0.1, 0.2, 0.7, 0.6]
]
] call BIS_fnc_EXP_camp_dynamicAISkill;
See also
Arma 3: AI Skill · setSkill · skillFinal · BIS_fnc_EXP_camp_setSkill