{"name":"enginesPowerRTD","operator":null,"title":"enginesPowerRTD","type":"command","url":"https://community.bistudio.com/wiki/enginesPowerRTD","revid":349357,"updated":"2023-11-08T15:35:08Z","groups":["RTD"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.34"}],"since":{"game":"arma3","name":"Arma 3","version":"1.34"},"arma3_since":"1.34","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns power produced by engines in Watts.\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":"enginesPowerRTD RTD_helicopter","since":null,"effect":null,"exec":null,"params":[{"name":"RTD_helicopter","type":"Object","optional":false,"default":null,"description":"helicopter with advanced flight model enabled","types":["Object"],"since":null,"text":"RTD_helicopter: Object - helicopter with advanced flight model enabled"}],"returns":{"type":"Array of Numbers","types":["Array","Number"],"description":"watts produced by the engines, to format [engine1, engine2]. Returns an empty array if Advanced Flight Model is disabled.","text":"Array of Numbers - watts produced by the engines, to format [engine1, engine2]. Returns an empty array if Advanced Flight Model is disabled."},"form":"unary","operator":null,"left":null,"right":{"text":"RTD_helicopter","types":["Object"]}}],"examples":[{"text":"```sqf\n_array = enginesPowerRTD vehicle player;\n```","code":["_array = enginesPowerRTD vehicle player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: RTD","Introduced with Arma 3 version 1.34","Scripting Commands"]}