weightRTD: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " \|= Parameter " to " ")
mNo edit summary
 
Line 12: Line 12:
|p1= helicopter: [[Object]]
|p1= helicopter: [[Object]]


|r1= [[Array]] - [fuselage weight, crew weight, fuel weight, [[setCustomWeightRTD|custom weight]], weapons weight] (kilograms)
|r1= [[Array]] with [fuselage, crew, fuel, custom, weapons] - weights in kilograms
* fuselage: [[Number]] - weight of the fuselage
* crew: [[Number]] - weight of the crew
* fuel: [[Number]] - weight of the fuel
* custom: [[Number]] - weight set with [[setCustomWeightRTD]]
* weapons: [[Number]] - weight of the weapons


|x1= <sqf>_taruWeight = weightRTD taru// Returns [7000,300,1990.56,0,0]</sqf>
|x1= <sqf>_taruWeight = weightRTD taru// Returns [7000,300,1990.56,0,0]</sqf>

Latest revision as of 10:04, 4 April 2026

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 with [fuselage, crew, fuel, custom, weapons] - weights in 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.
Only post proven facts here! Add Note