Arma 3 Scripting

getCorpse

  • Arma 3 v2.12

Command · also in Object Manipulation · Markdown · JSON · original wiki page

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.

Syntax

getCorpse weaponholder

Parameters:

Returns: Object - dead unit

Examples

Example 1

systemChat str getCorpse cursorObject;

See also

getCorpseWeaponholders · nearSupplies · allDeadMen