getCorpse: Difference between revisions
Jump to navigation
Jump to search
Cat Harsis (talk | contribs) m (2.12 released, no longer only dev branch) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
|seealso= [[nearSupplies]] [[allDeadMen]] | |seealso= [[getCorpseWeaponholders]] [[nearSupplies]] [[allDeadMen]] | ||
}} | }} |
Latest revision as of 15:49, 7 March 2024
Description
- Description:
- 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.
- Groups:
- Unit InventoryObject Manipulation
Syntax
- Syntax:
- getCorpse weaponholder
- Parameters:
- weaponholder: Object - weaponholder dropped by the dead unit
- Return Value:
- Object - dead unit
Examples
- Example 1:
Additional Information
- See also:
- getCorpseWeaponholders 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