{"name":"setEngineRpmRTD","title":"setEngineRpmRTD","type":"command","url":"https://community.bistudio.com/wiki/setEngineRpmRTD","revid":349351,"updated":"2023-11-08T15:35:07Z","groups":["RTD"],"status":"ok","games":{"tkoh":"1.00","arma3":"1.34"},"since":"tkoh 1.00","arma3_since":"1.34","description":"Sets the RPM of given engines.\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":"helicopter setEngineRpmRTD [rpm, engineIndex]","params":[{"name":"helicopter","type":"Object","type_expr":"Object"},{"name":"rpm","type":"Number","description":"wanted RPM","type_expr":"Number"},{"name":"engineIndex","type":"Number","description":"index of the engine\n\n- engine index 0: engine #1\n- engine index 1: engine #2\n- engine index 2: engine #3\n- engine index -1: all engines","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"helicopter"},"right":{"text":"[rpm, engineIndex]"}}],"examples":[{"code":["myHelicopter setEngineRpmRTD [1337, -1];"]}],"see_also":["setWantedRPMRTD","rotorsRpmRTD","enginesRpmRTD"]}