Jump to navigation Jump to search
- Returns the corpse associated with given weaponholder. When unit is killed and had a weapon, the weapon is placed inside "WeaponHolderSimulated" and dropped together with the unit. This command returns the dead body associated with this weaponholder.
- Unit InventoryObject Manipulation
- getCorpse weaponholder
- weaponholder: Object - weaponholder dropped by the dead unit
- Return Value:
- Object - dead unit
- Example 1: