Arma 3 Scripting

getCorpseWeaponholders

  • Arma 3 v2.18

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

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:

Returns: Array of Objects in format [primaryWeaponHolder, secondaryWeaponHolder]

Examples

Example 1

systemChat str getCorpseWeaponholders cursorObject;

See also

getCorpse · nearSupplies · allDeadMen