BIS fnc EXP camp dynamicAISkill: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
||
Line 14: | Line 14: | ||
|p1= mode: [[Boolean]] - (Optional, default [[true]]) [[true]] to enable, [[false]] to disable | |p1= mode: [[Boolean]] - (Optional, default [[true]]) [[true]] to enable, [[false]] to disable | ||
|p2= affectedSides: [[Array]] - | |p2= affectedSides: [[Array]] - array of affected sides and their skill sets. For details see [[BIS_fnc_EXP_camp_setSkill]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Revision as of 12:40, 8 November 2023
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:
- Campaign
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:
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