weightRTD: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " \|= Parameter " to " ") |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 12: | Line 12: | ||
|p1= helicopter: [[Object]] | |p1= helicopter: [[Object]] | ||
|r1= [[Array]] - | |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> | |x1= <sqf>_taruWeight = weightRTD taru// Returns [7000,300,1990.56,0,0]</sqf> | ||
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