enableAutoTrimRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *tkoh *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| tkoh
|game1= tkoh
|version1= 1.00


|gr1= RTD
|gr1= RTD


|1.00
|game2= arma3
 
|game2= arma 3
|version2=1.34
|version2=1.34


| Toggle auto-trim for RTD helicopters.  
|descr= Toggle auto-trim for RTD helicopters.  
{{Feature|afm}}
{{Feature|afm}}


|s1= helicopterRTD '''enableAutoTrimRTD''' enable
|s1= helicopterRTD [[enableAutoTrimRTD]] enable


|p1= helicopterRTD: [[ObjectRTD]] - helicopter
|p1= helicopterRTD: [[ObjectRTD]] - helicopter
Line 20: Line 19:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>myHelicopterRTD [[enableAutoTrimRTD]] [[true]];</code>
|x1= <sqf>myHelicopterRTD enableAutoTrimRTD true;</sqf>


|seealso= [[isAutoTrimOnRTD]]
|seealso= [[isAutoTrimOnRTD]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 10:22, 13 May 2022

Hover & click on the images for description

Description

Description:
Toggle auto-trim for RTD helicopters.
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.
Groups:
RTD

Syntax

Syntax:
helicopterRTD enableAutoTrimRTD enable
Parameters:
helicopterRTD: ObjectRTD - helicopter
enable: Boolean - enable or disable
Return Value:
Boolean

Examples

Example 1:
myHelicopterRTD enableAutoTrimRTD true;

Additional Information

See also:
isAutoTrimOnRTD

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note