weightRTD: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
BrettMayson (talk | contribs) mNo edit summary |
||
| (13 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.34 | |||
|gr1= RTD | |gr1= RTD | ||
| | |descr={{Feature|afm}}Returns weight of RTD helicopter. | ||
| | |s1= [[weightRTD]] helicopter | ||
| [[ | |p1= helicopter: [[Object]] | ||
| | |r1= [[Array]] with [fuselage, crew, fuel, custom, weapons] - weights in kilograms | ||
* fuselage: [[Number]] - weight of the fuselage | |||
* crew: [[Number]] - weight of the crew | |||
* fuel: [[Number]] - weight of the fuel | |||
* custom: [[Number]] - weight set with [[setCustomWeightRTD]] | |||
* weapons: [[Number]] - weight of the weapons | |||
| | |x1= <sqf>_taruWeight = weightRTD taru// Returns [7000,300,1990.56,0,0]</sqf> | ||
|seealso= [[setCustomWeightRTD]] [[isObjectRTD]] [[load]] [[getMass]] | |||
|seealso= [[setCustomWeightRTD]] | |||
}} | }} | ||
Latest revision as of 10:04, 4 April 2026
Description
- Description:
- Returns weight of RTD helicopter.
- Groups:
- RTD
Syntax
- Syntax:
- weightRTD helicopter
- Parameters:
- helicopter: Object
- Return Value:
- Array with [fuselage, crew, fuel, custom, weapons] - weights in kilograms
Examples
- Example 1:
Additional Information
- See also:
- setCustomWeightRTD isObjectRTD load getMass
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note