Fandom

武装突袭 Wiki

BIS_fnc_removeVirtualItemCargo

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:

/*

	Description:
	Remove virtual items from an object (e.g., ammo box).
	Virtual items can be selected in the Arsenal.

	Parameter(s):
		0: OBJECT - objct from which items will be removed
		1: STRING or ARRAY of STRINGs - item class(es) to be removed
		2 (Optional): BOOL - true to remove items globally (default: false)

	Returns:
	ARRAY of ARRAYs - all virtual items within the object's space in format [<items>,<weapons>,<magazines>,<backpacks>]
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)

Example 1:</dt>
[ _box , "U_B_CombatUniform_mcam", true ] call BIS_fnc_removeVirtualItemCargo; // removes the item global from the virtualArsenal of the _box </dd>

Example 2:</dt>
[ _box , ["U_B_CombatUniform_mcam","H_Booniehat_mcamo"] ] call BIS_fnc_removeVirtualItemCargo; // removes the content in the Array from the virtualArsenal of the _box </dd>

Example 3:</dt>
[ _box , (_box call BIS_fnc_getVirtualItemCargo)] call BIS_fnc_removeVirtualItemCargo; // removes all virtualArsenal added items from the _box </dd>
See also:</dt>

ArsenalBIS_fnc_getVirtualItemCargoBIS_fnc_addVirtualItemCargo</dd>

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

更多维基

随机维基