BIS fnc EXP camp dynamicAISkill: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 8: Line 8:
|serverExec= server
|serverExec= server


| 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]]

Revision as of 00:01, 13 June 2021

Hover & click on the images for description

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:
[ 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

See also:
Arma 3 AI SkillsetSkillskillFinalBIS_fnc_EXP_camp_setSkill

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