getCorpseWeaponholders: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
|gr2= Object Manipulation | |gr2= Object Manipulation | ||
|descr= Returns primary and secondary weapon holders of a dead unit. If a unit had weapons at the moment of death, primary weapon is | |descr= 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. | ||
|s1= [[getCorpseWeaponholders]] corpse | |s1= [[getCorpseWeaponholders]] corpse |
Revision as of 16:40, 7 March 2024
Description
- 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.
- Groups:
- Unit InventoryObject Manipulation
Syntax
- Syntax:
- getCorpseWeaponholders corpse
- Parameters:
- corpse: Object - dead unit
- Return Value:
- Array - array in format [primaryWeaponHolder, secondaryWeaponHolder]
Examples
- Example 1:
Additional Information
- See also:
- getCorpse 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