weightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
Line 13: Line 13:
|p1= helicopter: [[Object]] |= Parameter
|p1= helicopter: [[Object]] |= Parameter


| [[Array]] -  [fuselage weight, crew weight, fuel weight, [[setCustomWeightRTD|custom weight]], weapons weight] (kilograms)
|r1= [[Array]] -  [fuselage weight, crew weight, fuel weight, [[setCustomWeightRTD|custom weight]], weapons weight] (kilograms)


|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>

Revision as of 13:22, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
RTD

Syntax

Syntax:
Syntax needed
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