weightRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|1.34|Game version= | |1.34|Game version= | ||
|{{Feature|afm}}Returns weight of RTD helicopter. |DESCRIPTION= | |{{Feature|afm}}Returns weight of RTD helicopter. |DESCRIPTION= | ||
| [[weightRTD]] helicopter |SYNTAX= | | [[weightRTD]] helicopter |SYNTAX= | ||
Line 23: | Line 20: | ||
|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 04:19, 17 January 2021
Description
- Description:
- 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