Difference between revisions of "AmmoBox"

From cluster wiki
Jump to navigation Jump to search
 
(2 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;">
This function creates a "Rearm Arsenal" at which players can restock on ammunition, grenades, and misc items. It will allow players to save loadouts as well but won't allow loading or creating new ones.
This function creates a "Rearm Arsenal" at which players can restock on ammunition, grenades, and misc items.
</div></dd>
</div></dd>


Line 28: Line 28:
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Syntax:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Syntax:</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;">
[obj] call '''EMF_fnc_kosherAmmoBox'''
[obj] call '''emf_kosherArsenal_fnc_ammobox'''
</div></dd>
</div></dd>


Line 50: Line 50:
<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] call '''EMF_fnc_kosherAmmoBox''';
[this] call '''emf_kosherArsenal_fnc_ammobox''';
</code></dd>
</code></dd>


Line 62: Line 62:
<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;">[[KosherArsenal]]</div>
<div style="display: block;">[[AiArsenal]]</div>
<div style="display: block;">[[KosherArsenalLoad]]</div>
<div style="display: block;">[[AiInit]]</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>



Latest revision as of 14:08, 26 March 2022

Description
Description:

This function creates a "Rearm Arsenal" at which players can restock on ammunition, grenades, and misc items.

Execution:

call

Groups:

Kosher Arsenal: Eric's Mission Framework

Syntax
Syntax:

[obj] call emf_kosherArsenal_fnc_ammobox

Parameters:

obj: Object - Object to apply the arsenal to.

Return Value:

Boolean - Returns true on success.

Examples
Example 1:
[this] call emf_kosherArsenal_fnc_ammobox;
Additional Information
See also:


Notes