ACE_fnc_RuckWeaponsList

Description

Returns list of lists detailing weapons in a ruck.

Parameters

_unitUnit owning ruck to pack weapon into [Object]
_lastReturn saved value from before respawn.  Useful for some respawn scripts.  (Optional) [Boolean]

Returns

List of lists.  Each sublist contains weapon name and count.

Example

_WeaponsList = [BOB] call ACE_fnc_RuckWeaponsList;
{
    hint format["Name %1, Count %2", _x select 0, _x select 1];
} forEach _WeaponsList;

Author

tcp, © 2010

Close