getCorpseWeaponholders: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.18 |branch= dev |gr1= Unit Inventory |gr2= Object Manipulation |descr= Returns primary and secondary wepaon holders of a dead unit. If a unit had weapons at the moment of death, primary weapon is droped in one weaponholder and secondary weapon is dropped in another. |s1= getCorpseWeaponholders corpse |p1= corpse: Object - dead unit |r1= Array - array in format [primaryWeaponHolder, secondaryWeaponHolder] |x...") |
Lou Montana (talk | contribs) m (Fix) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.18 | |version1= 2.18 | ||
|gr1= Unit Inventory | |gr1= Unit Inventory | ||
|gr2= Object Manipulation | |gr2= Object Manipulation | ||
|descr= Returns primary and secondary | |||
|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 | ||
Line 14: | Line 14: | ||
|p1= corpse: [[Object]] - dead unit | |p1= corpse: [[Object]] - dead unit | ||
|r1= [[Array]] | |r1= [[Array]] of [[Object]]s in format [primaryWeaponHolder, secondaryWeaponHolder] | ||
|x1= <sqf>systemChat str getCorpseWeaponholders cursorObject;</sqf> | |x1= <sqf>systemChat str getCorpseWeaponholders cursorObject;</sqf> | ||
|seealso= [[getCorpse]] [[nearSupplies]] [[allDeadMen]] | |seealso= [[getCorpse]] [[nearSupplies]] [[allDeadMen]] | ||
}} | }} |
Latest revision as of 16:06, 8 October 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 of Objects 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