getCorpseWeaponholders
Jump to navigation
Jump to search
Description
- Description:
- Returns primary and secondary wepaon holders of a dead unit. If a unit had weapons at the moment of death, primary weapon is droped in one weaponholder and secondary weapon is dropped in another.
- Groups:
- Unit InventoryObject Manipulation
Syntax
- Syntax:
- getCorpseWeaponholders corpse
- Parameters:
- corpse: Object - dead unit
- Return Value:
- Array - array in format [primaryWeaponHolder, secondaryWeaponHolder]
Examples
- Example 1:
Additional Information
- See also:
- getCorpse nearSupplies allDeadMen
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note