weightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 16: Line 16:
|x1= <code>_taruWeight = [[weightRTD]] taru// Returns [7000,300,1990.56,0,0]</code>
|x1= <code>_taruWeight = [[weightRTD]] taru// Returns [7000,300,1990.56,0,0]</code>


|seealso= [[setCustomWeightRTD]] [[isObjectRTD]] [[load]], [[getMass]]
|seealso= [[setCustomWeightRTD]] [[isObjectRTD]] [[load]] [[getMass]]
}}
}}

Revision as of 20:58, 20 January 2022

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:
setCustomWeightRTD isObjectRTD load getMass

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