Arma 3 Scripting

Command in RTD

weightRTD

Also available as Markdown and JSON, or read the original wiki page.

Description

Note

afm: 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.

Syntax

weightRTD helicopter

Parameters:

Returns: Array with [fuselage, crew, fuel, custom, weapons] - weights in kilograms

Examples

Example 1

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

See also

setCustomWeightRTD · isObjectRTD · load · getMass