BIS fnc EXP camp dynamicAISkill: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "[[Arma 3 " to "[[Arma 3: ") |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
|1.62 | |game1= arma3 | ||
|version1= 1.62 | |||
|gr1= Campaign | |gr1= Campaign | ||
Line 10: | Line 10: | ||
|descr= 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. | |descr= 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. | ||
|s1=[mode,affectedSides] call [[BIS_fnc_EXP_camp_dynamicAISkill]] | |s1= [mode, affectedSides] call [[BIS_fnc_EXP_camp_dynamicAISkill]] | ||
|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]] | ||
|x1=< | |x1= <sqf> | ||
[ | |||
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; | |||
</sqf> | |||
|seealso= [[Arma 3 AI Skill]] | |seealso= [[Arma 3: AI Skill]] [[setSkill]] [[skillFinal]] [[BIS_fnc_EXP_camp_setSkill]] | ||
}} | }} |
Latest revision as of 10:38, 6 May 2024
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