Description
Returns primary and secondary weapon holders of a dead unit. If a unit had weapons at the moment of death, primary weapon is dropped into primary weaponholder and secondary weapon is dropped into secondary.
Syntax
getCorpseWeaponholders corpse
Parameters:
corpse: Object - dead unit
Returns: Array of Objects in format [primaryWeaponHolder, secondaryWeaponHolder]
Examples
Example 1
systemChat str getCorpseWeaponholders cursorObject;