weightRTD: Difference between revisions

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


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|1.34|Game version=
|1.34|Game version=
____________________________________________________________________________________________


|{{Feature|afm}}Returns weight of RTD helicopter. |DESCRIPTION=
|{{Feature|afm}}Returns weight of RTD helicopter. |DESCRIPTION=
____________________________________________________________________________________________


| [[weightRTD]] helicopter |SYNTAX=
| [[weightRTD]] helicopter |SYNTAX=
Line 23: Line 20:
|x1= <code>_taruWeight = [[weightRTD]] taru// Returns [7000,300,1990.56,0,0]</code>|EXAMPLE1=  
|x1= <code>_taruWeight = [[weightRTD]] taru// Returns [7000,300,1990.56,0,0]</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[setCustomWeightRTD]], [[isObjectRTD]], [[load]], [[getMass]] |SEEALSO=  
| [[setCustomWeightRTD]], [[isObjectRTD]], [[load]], [[getMass]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 04:19, 17 January 2021

Hover & click on the images for description

Description

Description:
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.
Returns weight of RTD helicopter.
Groups:
RTD

Syntax

Syntax:
weightRTD helicopter
Parameters:
helicopter: Object
Return Value:
Array - [fuselage weight, crew weight, fuel weight, custom weight, weapons weight] (kilograms)

Examples

Example 1:
_taruWeight = weightRTD taru// Returns [7000,300,1990.56,0,0]

Additional Information

See also:
setCustomWeightRTDisObjectRTDloadgetMass

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