weightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (See Also + isObjectRTD)
m (template:command argument fix)
Line 14: Line 14:
|p1= helicopter: [[Object]] |= Parameter
|p1= helicopter: [[Object]] |= Parameter


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




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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setCustomWeightRTD]], [[isObjectRTD]], [[load]], [[getMass]] |= SEEALSO
| [[setCustomWeightRTD]], [[isObjectRTD]], [[load]], [[getMass]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:38, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns weight of RTD helicopter.
Groups:
Uncategorised

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

Notes

Bottom Section