cmf_kosherArsenal_fnc_kosherAI
Jump to navigation
Jump to search
Description
- Description:
- This function will make AI of given side to receive a new loadout from a kosherArsenal loadoutfile, this can be used to make custom enemy factions.
- Execution:
- Call
- Groups:
- CMF3: kosherArsenal
Syntax
- Syntax:
- [side, file] call cmf_kosherArsenal_fnc_kosherAI
- Parameters:
- side: Side - The side to apply the arsenal to
- file: String - Filename of the kosherArsenal loadoutfile (ommit .sqf)
- Return Value:
- None
Examples
- Example 1:
[east, "exampleLoadout"] call cmf_kosherArsenal_fnc_kosherAI;
Additional Information
- See also:
- See also needed
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Mission | cmf_kosherArsenal_kosherai_disable | A variable that when true will disable kosherAI |
GLOBAL | Unit | cmf_kosherArsenal_kosherai_initialized | A String variable containing the unit's role |
GLOBAL | Unit | cmf_kosherArsenal_kosherai_role | A variable that is true when unit has been initialized with kosherAI |
Events
Locality | Name | Variables | Description |
---|---|---|---|
LOCAL | cmf_kosherArsenal_kosherai_onEnabled | [unit, role] | Is raised when kosherAI is enabled on a unit |
Notes