Difference between revisions of "AmmoBox"

From cluster wiki
Jump to navigation Jump to search
(Created page with "<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Description</div> <dl...")
 
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:


<!-- DESCRIPTION -->
<!-- DESCRIPTION -->
<dt style="min-width:100%;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>


<!-- EXECUTION -->
<!-- EXECUTION -->
<dt style="min-width:100%;clear:both;font-weight:bold;position:absolute;padding:.3em;">Execution:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Execution:</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;">
call
call
Line 16: Line 16:


<!-- GROUPS -->
<!-- GROUPS -->
<dt style="min-width:100%;clear:both;font-weight:bold;position:absolute;padding:.3em;">Groups:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Groups:</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;">
Utility Functions: Eric's Mission Framework
Kosher Arsenal: Eric's Mission Framework
</div></dd>
</div></dd>
</dl>  
</dl>  
Line 26: Line 26:


<!-- SYNTAX -->
<!-- SYNTAX -->
<dt style="min-width:100%;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>


<!-- PARAMETERS -->
<!-- PARAMETERS -->
<dt style="min-width:100%;clear:both;font-weight:bold;position:absolute;padding:.3em;">Parameters:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Parameters:</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: Object - Object to apply the arsenal to.
obj: Object - Object to apply the arsenal to.
Line 38: Line 38:


<!-- RETURN VALUE -->
<!-- RETURN VALUE -->
<dt style="min-width:100%;clear:both;font-weight:bold;position:absolute;padding:.3em;">Return Value:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Return Value:</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;">
Boolean - Returns true on success.
Boolean - Returns true on success.
Line 48: Line 48:


<!-- EXAMPLE -->
<!-- EXAMPLE -->
<dt style="min-width:100%;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 60: Line 60:


<!-- SEE ALSO -->
<!-- SEE ALSO -->
<dt style="min-width:100%;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;">[[ForceArsenal]]</div>
<div style="display: block;">[[ForceClose]]</div>
<div style="display: block;">[[Init (Kosher Arsenal)]]</div>
</dd>
</dd>


Line 77: Line 80:
<!-- CATEGORIES -->
<!-- CATEGORIES -->
[[Category:Kosher Arsenal: Eric's Mission Framework]]
[[Category:Kosher Arsenal: Eric's Mission Framework]]
[[Category:Functions: Eric's Mission Framework]]

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