Arsenal – Arma 3 Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 29: Line 29:
<br>
<br>
Forum discusstion: http://forums.bistudio.com/showthread.php?184110-Select-all-gear-classnames-per-playerside<br>
Forum discusstion: http://forums.bistudio.com/showthread.php?184110-Select-all-gear-classnames-per-playerside<br>
== Loadout in soldier's init field ==
By just pasting the exported Loadout to a soldier's init field. it will get reexecuted for each player that Joins in Progress so its possible that the gear gets reset mid-game.

Revision as of 00:19, 28 August 2015

A side selection parameter for the following BIS functions would be useful:

BIS_fnc_removeVirtualBackpackCargo
BIS_fnc_removeVirtualItemCargo
BIS_fnc_removeVirtualMagazineCargo
BIS_fnc_removeVirtualWeaponCargo
&
BIS_fnc_addVirtualBackpackCargo
BIS_fnc_addVirtualItemCargo
BIS_fnc_addVirtualMagazineCargo
BIS_fnc_addVirtualWeaponCargo

Parameter(s):
0: OBJECT - objct to which items will be added
1: STRING or ARRAY of STRINGs - item class(es) to be added
2 (Optional): BOOL - true to add items globally (default: false)
3 (Optional): BOOL - true to add Arsenal action (default: true)

Special purpose String accepted by Parameter-1:
Playerside (current playerside of player opening the VA system
Side (west\East\OPfor\Guer\etc....)

These special Strings could than be used to:
1 - Provide VA-ammoboxes containing items only available gear based on the current playerside of the player 'opening' the box
2 - Create VA-ammoboxes containing items for a specific side only, regardles of the playerside of the player opening them.

Regardless of the Strings, the VA system should still be able to take overrides from the Whitelist and or Blacklist.


Forum discusstion: http://forums.bistudio.com/showthread.php?184110-Select-all-gear-classnames-per-playerside

Loadout in soldier's init field

By just pasting the exported Loadout to a soldier's init field. it will get reexecuted for each player that Joins in Progress so its possible that the gear gets reset mid-game.