BIS fnc EXP camp setSkill: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )M([a-z])" to "$1m$3") |
||
Line 13: | Line 13: | ||
|p1= side: [[Side]] - Side of which AI skill should be changed | |p1= side: [[Side]] - Side of which AI skill should be changed | ||
|p2= skillMin: [[Number]] - (Optional, default 0.5) | |p2= skillMin: [[Number]] - (Optional, default 0.5) minimal general skill | ||
|p3= skillAimMin: [[Number]] - (Optional, default 0.3) | |p3= skillAimMin: [[Number]] - (Optional, default 0.3) minimal aiming skill | ||
|p4= skillMax: [[Number]] - (Optional, default 0.8) | |p4= skillMax: [[Number]] - (Optional, default 0.8) maximal general skill | ||
|p5= skillAimMax: [[Number]] - (Optional, default 0.5) | |p5= skillAimMax: [[Number]] - (Optional, default 0.5) maximal aiming skill | ||
|r1= | |r1= |
Revision as of 12:31, 8 November 2023
Description
- Description:
- Sets skill for an entire AI side. The skill will be calculated using a lerp function. Function will take player as multiplier.
- Execution:
- call
- Groups:
- Campaign
Syntax
- Syntax:
- [side,skillMin,skillAimMin,skillMax,skillAimMax] call BIS_fnc_EXP_camp_setSkill
- 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:
- Return value needed
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