Difference between revisions of "AmmoBox"
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...") |
|||
Line 4: | Line 4: | ||
<!-- DESCRIPTION --> | <!-- DESCRIPTION --> | ||
<dt style=" | <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. It will allow players to save loadouts as well but won't allow loading or creating new ones. | ||
Line 10: | Line 10: | ||
<!-- EXECUTION --> | <!-- EXECUTION --> | ||
<dt style=" | <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=" | <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 | Utility Functions: Eric's Mission Framework | ||
Line 26: | Line 26: | ||
<!-- SYNTAX --> | <!-- SYNTAX --> | ||
<dt style=" | <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_fnc_kosherAmmoBox''' | ||
Line 32: | Line 32: | ||
<!-- PARAMETERS --> | <!-- PARAMETERS --> | ||
<dt style=" | <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=" | <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=" | <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_fnc_kosherAmmoBox'''; | ||
Line 60: | Line 60: | ||
<!-- SEE ALSO --> | <!-- SEE ALSO --> | ||
<dt style=" | <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;">[[KosherArsenal]]</div> |
Revision as of 18:56, 15 June 2021
Description
- Description:
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.
- Execution:
call
- Groups:
Utility Functions: Eric's Mission Framework
Syntax
- Syntax:
[obj] call EMF_fnc_kosherAmmoBox
- Parameters:
obj: Object - Object to apply the arsenal to.
- Return Value:
Boolean - Returns true on success.
Examples
- Example 1:
[this] call EMF_fnc_kosherAmmoBox;
Additional Information
- See also:
Notes