fillWeaponsFromPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#F|COMREF]]
{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''fillWeaponsFromPool ''person'''''</h2>
| ofpr |= Game name


|1.75|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Adds magazines from the campaign pool to the given unit, depending on his weapons. |DESCRIPTION=
____________________________________________________________________________________________


'''person:''' [[Object]]
| '''fillWeaponsFromPool''' unitName |SYNTAX=


'''Type of returned value:'''
|p1= unitName: [[Object]] |PARAMETER1=


[[Nothing]]
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <pre>fillWeaponsFromPool _soldier</pre> |EXAMPLE1=
____________________________________________________________________________________________


'''Description:'''
|  |SEEALSO=


Add magazines from campaign pool to person (depending on weapons person has).
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


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


'''fillWeaponsFromPool''' victor
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|FILLWEAPONSFROMPOOL]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|FILLWEAPONSFROMPOOL]]
[[Category:Scripting Commands ArmA|FILLWEAPONSFROMPOOL]]
[[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 15:39, 7 April 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