getCorpse: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.12 |branch= dev |gr1= Unit Inventory |gr2= Object Manipulation |descr= Returns the corpse associated with given weaponholder....")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.12
|version1= 2.12
|branch= dev


|gr1= Unit Inventory
|gr1= Unit Inventory
Line 22: Line 20:




|seealso= [[nearSupplies]] [[allDeadMen]]
|seealso= [[getCorpseWeaponholders]] [[nearSupplies]] [[allDeadMen]]
}}
}}

Latest revision as of 16:49, 7 March 2024

Hover & click on the images for description

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