BIS fnc EXP camp setSkill: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function
| arma3 |Game name=
| arma3


|1.62|Game version=
|1.62


|gr1= Campaign|GROUP1=
|gr1= Campaign


|serverExec= server
|serverExec= server


| Sets skill for an entire AI side. The skill will be calculated using a lerp function. Function will take player as multiplier. |DESCRIPTION=
| 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]];|SYNTAX=
| [side,skillMin,skillAimMin,skillMax,skillAimMax] call [[BIS_fnc_EXP_camp_setSkill]];


|p1= side: [[Side]] - Side of which AI skill should be changed|PARAMETER1=
|p1= side: [[Side]] - Side of which AI skill should be changed
|p2= skillMin: [[Number]] - (Optional, default 0.5) Minimal general skill|PARAMETER2=
|p2= skillMin: [[Number]] - (Optional, default 0.5) Minimal general skill
|p3= skillAimMin: [[Number]] - (Optional, default 0.3) Minimal aiming skill|PARAMETER3=
|p3= skillAimMin: [[Number]] - (Optional, default 0.3) Minimal aiming skill
|p4= skillMax: [[Number]] - (Optional, default 0.8) Maximal general skill|PARAMETER4=
|p4= skillMax: [[Number]] - (Optional, default 0.8) Maximal general skill
|p5= skillAimMax: [[Number]] - (Optional, default 0.5) Maximal aiming skill|PARAMETER5=
|p5= skillAimMax: [[Number]] - (Optional, default 0.5) Maximal aiming skill


| |RETURNVALUE=
|


|x1=<code>[WEST,0.1,0.2,0.7,0.6] [[call]] [[BIS_fnc_EXP_camp_setSkill]];</code>
|x1=<code>[WEST,0.1,0.2,0.7,0.6] [[call]] [[BIS_fnc_EXP_camp_setSkill]];</code>


| [[Arma 3 AI Skill]], [[setSkill]], [[skillFinal]], [[BIS_fnc_EXP_camp_dynamicAISkill]]|SEEALSO=
| [[Arma 3 AI Skill]], [[setSkill]], [[skillFinal]], [[BIS_fnc_EXP_camp_dynamicAISkill]]
}}
}}


[[Category:Functions|{{uc:EXP_camp_setSkill}}]]
[[Category:Functions|{{uc:EXP_camp_setSkill}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:EXP_camp_setSkill}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:EXP_camp_setSkill}}]]

Revision as of 22:19, 17 January 2021

Hover & click on the images for description

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:
[WEST,0.1,0.2,0.7,0.6] call BIS_fnc_EXP_camp_setSkill;

Additional Information

See also:
Arma 3 AI SkillsetSkillskillFinalBIS_fnc_EXP_camp_dynamicAISkill

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