{"name":"values","operator":null,"title":"values","type":"command","url":"https://community.bistudio.com/wiki/values","revid":376075,"updated":"2025-07-27T22:51:40Z","groups":["HashMap"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.04"}],"since":{"game":"arma3","name":"Arma 3","version":"2.04"},"arma3_since":"2.04","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns all values stored in the given HashMap. The order of the returned Array corresponds to the order of the Array returned by the keys command.","syntaxes":[{"syntax":"values hashmap","since":null,"effect":null,"exec":null,"params":[{"name":"hashmap","type":"HashMap","optional":false,"default":null,"description":null,"types":["HashMap"],"since":null,"text":"hashmap: HashMap"}],"returns":{"type":"Array","types":["Array"],"description":"all values stored in hashmap","text":"Array - all values stored in *hashmap*"},"form":"unary","operator":null,"left":null,"right":{"text":"hashmap","types":["HashMap"]}}],"examples":[{"text":"```sqf\nprivate _values = values _myHashMap;\n```","code":["private _values = values _myHashMap;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["keys","toArray"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: HashMap","Introduced with Arma 3 version 2.04","Scripting Commands"]}