getSelectionBones: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.16 |branch= dev |gr1= Object Manipulation |descr= Returns an array of bone names that are attached to the specified selection....")
 
mNo edit summary
Line 10: Line 10:
|descr= Returns an array of bone names that are attached to the specified selection.
|descr= Returns an array of bone names that are attached to the specified selection.


|s1= obj [[getSelectionBones]] [selectionName, LOD]
|s1= object [[getSelectionBones]] [selectionName, LOD]


|p1= obj: [[Object]]
|p1= object: [[Object]]
|p2= selectionName: [[String]]
|p2= selectionName: [[String]]
|p3= LOD: [[String]] or [[Number]] - can be one of:
|p3= LOD: [[String]] or [[Number]] - can be one of:

Revision as of 22:22, 29 January 2024

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.16.

Description

Description:
Returns an array of bone names that are attached to the specified selection.
Groups:
Object Manipulation

Syntax

Syntax:
object getSelectionBones [selectionName, LOD]
Parameters:
object: Object
selectionName: String
LOD: String or Number - can be one of:
  • "Memory"
  • "Geometry"
  • "FireGeometry"
  • "LandContact"
  • "HitPoints"
  • "ViewGeometry"
When Number is used, command searches for a LOD with the same LOD resolution
Return Value:
Array of Strings - Array of bone names

Examples

Examples:
Example needed

Additional Information

See also:
selectionPosition selectionNames getBoneNames

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