Soldier.getHeldWeaponId 2

Returns the id of the weapon the soldier is currently holding in their hands.


Return value

Return TypeDescription
stringThe weapon id, or an empty string if the soldier is holding nothing.

No parameters defined for this function.


Examples

No examples available.


Back to Scripting API