Difference between revisions of "AiArsenal"

From cluster wiki
Jump to navigation Jump to search
Line 54: Line 54:
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Example 1:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Example 1:</dt>
<dd style="width:90%;padding:.3em .3em .3em 7em;"><code style="border:#25A1A1 dashed 1px;display:block;">
<dd style="width:90%;padding:.3em .3em .3em 7em;"><code style="border:#25A1A1 dashed 1px;display:block;">
// This will load a loadout called ISIS.sqf onto east AI \n
// This will load a loadout called ISIS.sqf onto east AI
 
[east, "ISIS"] call '''emf_kosherArsenal_fnc_aiArsenal''';
[east, "ISIS"] call '''emf_kosherArsenal_fnc_aiArsenal''';
</code></dd>
</code></dd>

Revision as of 13:44, 26 March 2022

Description
Description:

Kosher arsenal for AI. will assign randomizewd clothing and weapons based on their role.

Execution:

call

Groups:

Kosher Arsenal: Eric's Mission Framework

Syntax
Syntax:

[side, file] call emf_kosherArsenal_fnc_aiArsenal

Parameters:

Side: side - Which side's AI to affect.

File: String - Name of loadoutfile located in rsc\loadouts (without .sqf extension)

Return Value:

None

Examples
Example 1:
// This will load a loadout called ISIS.sqf onto east AI [east, "ISIS"] call emf_kosherArsenal_fnc_aiArsenal;
Additional Information
See also:


Notes