Soldier.getUnequippedWeaponId 2

Returns the id of the weapon the soldier carries slung on their back rather than in their hands.


Return value

Return TypeDescription
stringThe weapon id, or an empty string if the soldier carries only one weapon.

No parameters defined for this function.


Examples

No examples available.


Back to Scripting API