Difference between revisions of "AiArsenal"

From cluster wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Description:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Description:</dt>
<dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;">
<dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;">
Kosher arsenal for AI. will assign randomizewd clothing and weapons based on their role.
Kosher arsenal for AI. will assign randomized clothing and weapons based on their role.
</div></dd>
</div></dd>


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
[east, "ISIS"] call '''emf_kosherArsenal_fnc_aiArsenal'''; // This will load a loadout called ISIS.sqf onto east AI
[east, "ISIS"] call '''emf_kosherArsenal_fnc_aiArsenal''';
</code></dd>
</code></dd>


Line 67: Line 66:
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">See also:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">See also:</dt>
<dd style="width:90%;padding:.3em .3em .3em 7em;column-count:4;">
<dd style="width:90%;padding:.3em .3em .3em 7em;column-count:4;">
<div style="display: block;">[[KosherAmmoBox]]</div>
<div style="display: block;">[[AiInit]]</div>
<div style="display: block;">[[KosherArsenalLoad]]</div>
<div style="display: block;">[[AmmoBox]]</div>
<div style="display: block;">[[KosherArsenalForce]]</div>
<div style="display: block;">[[ForceArsenal]]</div>
<div style="display: block;">[[ForceClose]]</div>
<div style="display: block;">[[Init (Kosher Arsenal)]]</div>
</dd>
</dd>


</dl>  
</dl>  

Latest revision as of 14:07, 26 March 2022

Description
Description:

Kosher arsenal for AI. will assign randomized 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:
[east, "ISIS"] call emf_kosherArsenal_fnc_aiArsenal; // This will load a loadout called ISIS.sqf onto east AI
Additional Information
See also:


Notes