BIS fnc EXP camp dynamicAISkill: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
| [mode,affectedSides] call [[BIS_fnc_EXP_camp_dynamicAISkill]];|SYNTAX= | | [mode,affectedSides] call [[BIS_fnc_EXP_camp_dynamicAISkill]];|SYNTAX= | ||
|p1= mode: [[Boolean]] - (Optional, default [[true]]) [[True]] to enable, [[false]] to disable|= | |p1= mode: [[Boolean]] - (Optional, default [[true]]) [[True]] to enable, [[false]] to disable|PARAMETER1= | ||
|p2= affectedSides: [[Array]] - Array of affected sides and their skill sets. For details see [[BIS_fnc_EXP_camp_setSkill]]|= | |p2= affectedSides: [[Array]] - Array of affected sides and their skill sets. For details see [[BIS_fnc_EXP_camp_setSkill]]|PARAMETER2= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= |
Revision as of 14:30, 7 April 2019
Description
- 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.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [mode,affectedSides] call BIS_fnc_EXP_camp_dynamicAISkill;
- Parameters:
- mode: Boolean - (Optional, default true) True to enable, false to disable
- affectedSides: Array - Array of affected sides and their skill sets. For details see BIS_fnc_EXP_camp_setSkill
- Return Value:
- 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;
Additional Information
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