namedProperties

From Bohemia Interactive Community
Revision as of 16:40, 20 March 2023 by Lou Montana (talk | contribs) (Add 2.14's alternative syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns a list of named properties on Geometry LOD.
Groups:
Object Manipulation

Syntax

Syntax:
namedProperties object
Parameters:
object: Object
Return Value:
Array of Arrays of Strings, in format: [[namedProperty1, propertyValue1], [namedProperty2, propertyValue2], ...]

Alternative Syntax

Syntax:
object namedProperties [LOD]
Parameters:
object: Object
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 similar LOD resolution
Return Value:
HashMap

Examples

Example 1:
private _properties = namedProperties _object; // [["sbsource","shadowvolume"],["prefershadowvolume","1"],["reversed","1"],["buoyancy","1"]]
Example 2:
private _namedProperties = cursorObject namedProperties ["FireGeometry"];

Additional Information

See also:
selectionNames animationNames Arma 3: Named Properties 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