{"name":"setWantedRPMRTD","operator":null,"title":"setWantedRPMRTD","type":"command","url":"https://community.bistudio.com/wiki/setWantedRPMRTD","revid":377768,"updated":"2026-01-03T01:32:15Z","groups":["RTD"],"status":"ok","replaced_by":[],"games":[{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"1.34"}],"since":{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},"arma3_since":"1.34","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Tell the helicopter engine RPMs to reach the given value within a period of time. The simulation will try to reach the RPMs, but it does not guarantee it will reach the precise value!\n- engine index 0: engine #1\n- engine index 1: engine #2\n- engine index 2: engine #3\n- engine index -1: all engines\n\n> [!NOTE]\n> **afm:** 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":"helicopterRTD setWantedRPMRTD [value, time, engineIndex]","since":null,"effect":null,"exec":null,"params":[{"name":"helicopterRTD","type":"ObjectRTD","optional":false,"default":null,"description":"helicopter","types":["Object"],"since":null,"text":"helicopterRTD : ObjectRTD - helicopter"},{"name":"value","type":"Number","optional":false,"default":null,"description":"engine RPMs","types":["Number"],"since":null,"text":"value : Number - engine RPMs"},{"name":"time","type":"Number","optional":false,"default":null,"description":"time to reach desired RPMs (seconds)","types":["Number"],"since":null,"text":"time : Number - time to reach desired RPMs (seconds)"},{"name":"engineIndex","type":"Number","optional":false,"default":null,"description":"engine index","types":["Number"],"since":null,"text":"engineIndex : Number - engine index"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"helicopterRTD","types":["Object"]},"right":{"text":"[value, time, engineIndex]","types":["Array"]}}],"examples":[{"text":"```sqf\nvehicle player setWantedRPMRTD [2500, 30, 0];\n```","code":["vehicle player setWantedRPMRTD [2500, 30, 0];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setEngineRPMRTD"],"notes":[],"categories":["Arma 3: Scripting Commands","Command Group: RTD","Introduced with Take On Helicopters version 1.00","Scripting Commands","Take On Helicopters: New Scripting Commands","Take On Helicopters: Scripting Commands"]}