BIS fnc EXP camp setSkill: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=") |
||
Line 10: | Line 10: | ||
| Sets skill for an entire AI side. The skill will be calculated using a lerp function. Function will take player as multiplier. | | Sets skill for an entire AI side. The skill will be calculated using a lerp function. Function will take player as multiplier. | ||
| [side,skillMin,skillAimMin,skillMax,skillAimMax] call [[BIS_fnc_EXP_camp_setSkill]] | |s1=[side,skillMin,skillAimMin,skillMax,skillAimMax] call [[BIS_fnc_EXP_camp_setSkill]] | ||
|p1= side: [[Side]] - Side of which AI skill should be changed | |p1= side: [[Side]] - Side of which AI skill should be changed |
Revision as of 19:31, 12 June 2021
Description
- Description:
- Description needed
- 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:
[WEST,0.1,0.2,0.7,0.6] call BIS_fnc_EXP_camp_setSkill;
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