Difference between revisions of "AmmoBox"
Jump to navigation
Jump to search
m (Eric moved page KosherAmmoBox to AmmoBox: Renamed function) |
|||
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> | ||
Revision as of 13:49, 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