BIS fnc EXP camp setSkill: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
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:16, 6 October 2020

Hover & click on the images for description

Description

Description:
GROUP1 ____________________________________________________________________________________________
Execution:
call
Groups:
Campaign

Syntax

Syntax:
Sets skill for an entire AI side. The skill will be calculated using a lerp function. Function will take player as multiplier.
Function only needs to be executed on the server.
Parameters:
side: Side - Side of which AI skill should be changed
skillMin: Number - (Optional, default 0.5) Minimal general skill
skillAimMin: Number - (Optional, default 0.3) Minimal aiming skill
skillMax: Number - (Optional, default 0.8) Maximal general skill
skillAimMax: Number - (Optional, default 0.5) Maximal aiming skill
Return Value:
[side,skillMin,skillAimMin,skillMax,skillAimMax] call BIS_fnc_EXP_camp_setSkill;

Examples

Example 1:
[WEST,0.1,0.2,0.7,0.6] call BIS_fnc_EXP_camp_setSkill;

Additional Information

See also:
See also needed

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