setActualCollectiveRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| TKOH |Game name=
| TKOH |Game name=
Line 11: Line 10:


|gr1= RTD |GROUP1=
|gr1= RTD |GROUP1=
____________________________________________________________________________________________


| Sets the collective pitch control to a specific position, regardless of input devices (until those are changed).
| Sets the collective pitch control to a specific position, regardless of input devices (until those are changed).
Line 18: Line 16:
* 1: collective fully up  
* 1: collective fully up  
{{Feature|afm}}|DESCRIPTION=
{{Feature|afm}}|DESCRIPTION=
____________________________________________________________________________________________


| helicopterRTD [[setActualCollectiveRTD]] value|SYNTAX=
| helicopterRTD [[setActualCollectiveRTD]] value|SYNTAX=
Line 26: Line 23:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>myHelicopterRTD [[setActualCollectiveRTD]] 0.7;</code> |EXAMPLE1=
|x1= <code>myHelicopterRTD [[setActualCollectiveRTD]] 0.7;</code> |EXAMPLE1=

Revision as of 03:29, 17 January 2021

Hover & click on the images for description

Description

Description:
Sets the collective pitch control to a specific position, regardless of input devices (until those are changed).
  • 0: collective fully down
  • ~0.7: approximate stable hover position
  • 1: collective fully up
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 setActualCollectiveRTD value
Parameters:
helicopterRTD : ObjectRTD - helicopter
value: Number - collective position
Return Value:
Nothing

Examples

Example 1:
myHelicopterRTD setActualCollectiveRTD 0.7;

Additional Information

See also:
collectiveRTD

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

Notes

Bottom Section