{"name":"namedProperties","operator":null,"title":"namedProperties","type":"command","url":"https://community.bistudio.com/wiki/namedProperties","revid":338564,"updated":"2023-03-20T14:40:54Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.00"}],"since":{"game":"arma3","name":"Arma 3","version":"2.00"},"arma3_since":"2.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns a list of named properties on Geometry LOD.","syntaxes":[{"syntax":"namedProperties object","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"}],"returns":{"type":null,"types":["Array","String"],"description":null,"text":"Array of Arrays of Strings, in format: [[namedProperty1, propertyValue1], [namedProperty2, propertyValue2], ...]"},"form":"unary","operator":null,"left":null,"right":{"text":"object","types":["Object"]}},{"syntax":"object namedProperties [LOD]","since":"arma3 2.14","effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"},{"name":"LOD","type":"String or Number","optional":false,"default":null,"description":"can be one of:\n- `\"Memory\"`\n- `\"Geometry\"`\n- `\"FireGeometry\"`\n- `\"LandContact\"`\n- `\"HitPoints\"`\n- `\"ViewGeometry\"`\nWhen Number is used, command searches for a LOD with the similar LOD resolution","types":["String","Number"],"since":null,"text":"LOD: String or Number - can be one of:\n- `\"Memory\"`\n- `\"Geometry\"`\n- `\"FireGeometry\"`\n- `\"LandContact\"`\n- `\"HitPoints\"`\n- `\"ViewGeometry\"`\nWhen Number is used, command searches for a LOD with the similar LOD resolution"}],"returns":{"type":"HashMap","types":["HashMap"],"description":null,"text":"HashMap"},"form":"binary","operator":null,"left":{"text":"object","types":["Object"]},"right":{"text":"[LOD]","types":["Array"]}}],"examples":[{"text":"```sqf\nprivate _properties = namedProperties _object; // [[\"sbsource\",\"shadowvolume\"],[\"prefershadowvolume\",\"1\"],[\"reversed\",\"1\"],[\"buoyancy\",\"1\"]]\n```","code":["private _properties = namedProperties _object; // [[\"sbsource\",\"shadowvolume\"],[\"prefershadowvolume\",\"1\"],[\"reversed\",\"1\"],[\"buoyancy\",\"1\"]]"]},{"text":"```sqf\nprivate _namedProperties = cursorObject namedProperties [\"FireGeometry\"];\n```","code":["private _namedProperties = cursorObject namedProperties [\"FireGeometry\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["selectionNames","animationNames","Arma 3: Named Properties","allLODs"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 2.00","Scripting Commands"]}