BIS fnc EXP camp dynamicAISkill: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " [ [[" to " [<nowiki/>[[")
m (Text replacement - "|Game version=" to "|Game version= |gr1= Campaign |GROUP1")
Line 4: Line 4:


|1.62|Game version=
|1.62|Game version=
|gr1= Campaign |GROUP1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:11, 6 October 2020

Hover & click on the images for description

Description

Description:
GROUP1 ____________________________________________________________________________________________
Execution:
call
Groups:
Campaign

Syntax

Syntax:
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.
Function only needs to be executed on the server.
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:
[mode,affectedSides] call BIS_fnc_EXP_camp_dynamicAISkill;

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

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