Difference between revisions of "cmf ai fnc setSkill"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
|x1= {{code|lang=scilab|[] call cmf_ai_fnc_setSkill}} | |x1= {{code|lang=scilab|[] call cmf_ai_fnc_setSkill}} | ||
|seealso= [[cmf_ai_fnc_preventProne]] [[cmf_ai_fnc_reinforce]] [[cmf_ai_fnc_transferToServer]] | |||
|var1= {{!}} GLOBAL {{!}}{{!}} missionNameSpace {{!}}{{!}} cmf_ai_setSkill_disable {{!}}{{!}} When true disables automatically assigning skill to units | |var1= {{!}} GLOBAL {{!}}{{!}} missionNameSpace {{!}}{{!}} cmf_ai_setSkill_disable {{!}}{{!}} When true disables automatically assigning skill to units | ||
|var2= {{!}} GLOBAL {{!}}{{!}} unitNamespace {{!}}{{!}} cmf_ai_setSkill_initialized {{!}}{{!}} Variable to check if setSkill is initialized | |var2= {{!}} GLOBAL {{!}}{{!}} unitNamespace {{!}}{{!}} cmf_ai_setSkill_initialized {{!}}{{!}} Variable to check if setSkill is initialized | ||
}} | }} |
Latest revision as of 21:33, 17 December 2022
Description
- Description:
- Sets the AIs skill level to balance them. This is using Cluster Community's skill settings.
- Execution:
- Call
- Groups:
- CMF3: ai
Syntax
- Syntax:
- [mode, args] call cmf_ai_fnc_setSkill
- Return Value:
- None
Examples
- Example 1:
[] call cmf_ai_fnc_setSkill
Additional Information
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | missionNameSpace | cmf_ai_setSkill_disable | When true disables automatically assigning skill to units |
GLOBAL | unitNamespace | cmf_ai_setSkill_initialized | Variable to check if setSkill is initialized |
Events
- No events
Notes