fillWeaponsFromPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|FILLWEAPONSFROMPOOL]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|FILLWEAPONSFROMPOOL]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|FILLWEAPONSFROMPOOL]]


| ofpr |= Game name


<h2 style="color:#000066">'''fillWeaponsFromPool ''person'''''</h2>
|1.75|= Game version
____________________________________________________________________________________________


| Adds magazines from the campaign pool to the given unit, depending on his weapons. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''fillWeaponsFromPool''' unit |= Syntax


'''person:''' [[Object]]
|p1= unit: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>fillWeaponsFromPool soldier</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Added in version '''1.75'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Add magazines from campaign pool to person (depending on weapons person has).
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|FILLWEAPONSFROMPOOL]]
 
[[Category:Scripting Commands OFP 1.96|FILLWEAPONSFROMPOOL]]
'''Example:'''
[[Category:Scripting Commands ArmA|FILLWEAPONSFROMPOOL]]
 
'''fillWeaponsFromPool''' victor

Revision as of 01:08, 2 August 2006

Hover & click on the images for description

Description

Description:
Adds magazines from the campaign pool to the given unit, depending on his weapons.
Groups:
Uncategorised

Syntax

Syntax:
fillWeaponsFromPool unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
fillWeaponsFromPool soldier

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section