weightRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|gr1= RTD | |gr1= RTD | ||
|1.34 | |1.34 | ||
|{{Feature|afm}}Returns weight of RTD helicopter. | |{{Feature|afm}}Returns weight of RTD helicopter. | ||
| [[weightRTD]] helicopter | | [[weightRTD]] helicopter | ||
|p1= helicopter: [[Object]] |= Parameter | |p1= helicopter: [[Object]] |= Parameter | ||
| [[Array]] - [fuselage weight, crew weight, fuel weight, [[setCustomWeightRTD|custom weight]], weapons weight] (kilograms) | | [[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> | ||
| [[setCustomWeightRTD]], [[isObjectRTD]], [[load]], [[getMass]] | | [[setCustomWeightRTD]], [[isObjectRTD]], [[load]], [[getMass]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:41, 18 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