{"name":"getTrimOffsetRTD","operator":null,"title":"getTrimOffsetRTD","type":"command","url":"https://community.bistudio.com/wiki/getTrimOffsetRTD","revid":348915,"updated":"2023-11-08T14:44:04Z","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 controls trim offset.\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":"getTrimOffsetRTD 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","types":["Array"],"description":"offsets in format [x,y,z]","text":"Array - offsets in format [x,y,z]"},"form":"unary","operator":null,"left":null,"right":{"text":"RTD_helicopter","types":["Object"]}}],"examples":[{"text":"```sqf\n_array = getTrimOffsetRTD vehicle player;\n```","code":["_array = getTrimOffsetRTD vehicle player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Advanced Helicopter Flight Model in Arma3"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: RTD","Introduced with Arma 3 version 1.34","Scripting Commands"]}