getSelectionBones: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.18 | |version1= 2.18 | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Returns an array of bone names | |descr= Returns an array of bone names to which the specified selection is attached. | ||
{{Feature|important|This command is relatively slow because it searches in all vertices of every bone.}} | {{Feature|important|This command is relatively slow because it searches in all vertices of every bone.}} | ||
Line 28: | Line 26: | ||
When [[Number]] is used, command searches for a LOD with the same [[LOD resolutions|LOD resolution]] | When [[Number]] is used, command searches for a LOD with the same [[LOD resolutions|LOD resolution]] | ||
|r1= [[Array]] of [[ | |r1= [[Array]] of [[String]]s - array of bone names | ||
|seealso= [[selectionPosition]] [[selectionNames]] [[getBoneNames]] | |seealso= [[selectionPosition]] [[selectionNames]] [[getBoneNames]] | ||
}} | }} |
Latest revision as of 16:09, 8 October 2024
Description
- Description:
- Returns an array of bone names to which the specified selection is attached.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- object getSelectionBones [selectionName, LOD]
- Parameters:
- object: Object
- selectionName: String
- LOD: String or Number - can be one of:
When Number is used, command searches for a LOD with the same LOD resolution
- "Memory"
- "Geometry"
- "FireGeometry"
- "LandContact"
- "HitPoints"
- "ViewGeometry"
- 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