{"name":"airDensityRTD","title":"airDensityRTD","type":"command","url":"https://community.bistudio.com/wiki/airDensityRTD","revid":318555,"updated":"2022-05-13T09:21:05Z","groups":["RTD"],"status":"ok","games":{"arma3":"1.34"},"since":"arma3 1.34","arma3_since":"1.34","description":"Returns air density in given altitude.\n\n> [!NOTE]\n> **Advanced Helicopter Flight Model:** For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.","syntaxes":[{"syntax":"airDensityRTD altitude","params":[{"name":"altitude","type":"Number","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"altitude"}}],"examples":[{"code":["_density = airDensityRTD 0; // returns 1.22406"]},{"code":["_density = airDensityRTD 1000; // Returns 1.11096"]}],"see_also":["rotorsForcesRTD","rotorsRpmRTD","weightRTD","wingsForcesRTD"]}