fillWeaponsFromPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "|= Comments" to "|Comments=")
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|F]]
{{Command|Comments=
[[Category:Scripting Commands OFP 1.97|F]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|F]]


back to [[Scripting_Reference#F|COMREF]]
| 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''' unitName |SYNTAX=


'''person:''' [[Object]]
|p1= unitName: [[Object]] |PARAMETER1=


'''Type of returned value:'''
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <pre>fillWeaponsFromPool _soldier</pre> |EXAMPLE1=
____________________________________________________________________________________________


[[Nothing]]
|  |SEEALSO=


'''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.99|{{uc:{{PAGENAME}}}}]]
'''Example:'''
[[Category:Scripting Commands OFP 1.96|FILLWEAPONSFROMPOOL]]
 
[[Category:Scripting Commands ArmA|FILLWEAPONSFROMPOOL]]
'''fillWeaponsFromPool''' victor
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Weapon Pool|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 14:23, 31 August 2019

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 unitName
Parameters:
unitName: 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