weightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|descr|x1?[0-9]|r[0-9]|p[0-9]{1,3}|seealso) *= +" to " |$1= ")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 8: Line 8:
|descr={{Feature|afm}}Returns weight of RTD helicopter.
|descr={{Feature|afm}}Returns weight of RTD helicopter.


|s1= [[weightRTD]] helicopter
|s1= [[weightRTD]] helicopter


|p1= helicopter: [[Object]] |= Parameter
|p1= helicopter: [[Object]] |= Parameter

Revision as of 23:53, 19 June 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