removeBackpackGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on May 8, 2016 - 18:00 (UTC)</dd>
<dt class="note">[[User:IT07|IT07]]</dt>
<dd class="note">
Because of AG (Arguments Global), you can use this command to remove the backpack from UNITS that are local as well as REMOTE.
<code>removeBackpackGlobal UNIT;</code> where UNIT can be a local and/or REMOTE player and/or AI
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 19:00, 8 May 2016

Hover & click on the images for description

Description

Description:
Removes backpack from a unit.
Groups:
Uncategorised

Syntax

Syntax:
removeBackpackGlobal unit
Parameters:
unit: Object - soldier
Return Value:
Nothing

Examples

Example 1:
removeBackpackGlobal player;

Additional Information

See also:
removeBackpackbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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

Posted on May 8, 2016 - 18:00 (UTC)
IT07
Because of AG (Arguments Global), you can use this command to remove the backpack from UNITS that are local as well as REMOTE. removeBackpackGlobal UNIT; where UNIT can be a local and/or REMOTE player and/or AI