selectionVectorDirAndUp

From Bohemia Interactive Community
Revision as of 20:15, 8 July 2021 by Leopard20 (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.06 |branch= dev |arg= global |descr= Searches for selection in the object model in the give LOD level of the object model, an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

Description

Description:
Searches for selection in the object model in the give LOD level of the object model, and returns the Direction and Up vectors in model space.
Groups:
Object Manipulation

Syntax

Syntax:
object selectionVectorDirAndUp [selectionName, LOD]
Parameters:
object: Object
selectionName: String - selection name (see selectionNames)
LOD: String or Number - the LOD that contains the selection. String can be one of:
  • "Memory"
  • "Geometry"
  • "FireGeometry"
  • "LandContact"
  • "HitPoints"
  • "ViewGeometry" (since Arma 3 v2.06.147636)
When Number is used, command searches for a LOD with the similar resolution (see allLODs).
Return Value:
Array - in format [vectorDir, vectorUp].

Examples

Examples:
Example needed

Additional Information

See also:
selectionPosition selectionNames allLODs

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