Fandom

武装突袭 Wiki

BIS_fnc_arsenal

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Arma 3 version 1.24
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.24

Description

Description:
/* Author: Karel Moricky

Description: Splendid arsenal viewer

Parameter(s):

0: STRING - mode 1: ANY - params (see below)

Modes: "Open" - Open the Arsenal 0 (Optional): BOOL - true to open full Arsenal, with all categories and items available (default: false)

"Preload" - Preload item configs for Arsenal (without preloading, configs are parsed the first time Arsenal is opened) No params

"AmmoboxInit" - Add virtual ammobox. Action to access the Arsenal will be added automatically on all clients. 0: OBJECT - ammobox 1 (Optional): BOOL - true to make all weapons and items in the game available in the box (default: false) 2 (Optional): Condition for showing the Arsenal action (default: {true}) Passed arguments are the same as in addAction condition, i.e., _target - the box, _this - caller

"AmmoboxExit" - Remove virtual ammobox 0: OBJECT - ammobox


Returns: NOTHING

*/

Syntax

Syntax:
[mode,params] call BIS_fnc_arsenal
Return Value:

Examples

Example 1:
["Open",true] spawn BIS_fnc_arsenal;//Using call crashes the game

Example 2:
["Preload"] call BIS_fnc_arsenal;

Example 3:
["AmmoboxInit",[ammobox,true,{true}]] spawn BIS_fnc_arsenal;//applies arsenal to object "ammobox" and includes all items.

Example 4:
["AmmoboxExit",ammobox] spawn BIS_fnc_arsenal//Doesnt work

Additional Information

Execution:
call
Multiplayer:
-
See also:

ArsenalBIS_fnc_garage

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

Posted on October 6, 2014 - 04:59 (UTC)
Benargee

To remove arsenal from an ammo box, you can use: removeAllActions ammobox

更多维基

随机维基