Difference between revisions of "AmmoBox"
Jump to navigation
Jump to search
(4 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 | 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 ''' | [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 ''' | [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;">[[ | <div style="display: block;">[[AiArsenal]]</div> | ||
<div style="display: block;">[[ | <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