getSelectionBones

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns an array of bone names to which the specified selection is attached.
This command is relatively slow because it searches in all vertices of every bone.
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