weightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(See Also)
m (Text replacement - " \|= Parameter " to " ")
 
(37 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma 3 |= Game name
|game1= arma3
|version1= 1.34


|1.34|= Game version
|gr1= RTD
____________________________________________________________________________________________


| Returns weight of RTD helicopter. |= Description
|descr={{Feature|afm}}Returns weight of RTD helicopter.
____________________________________________________________________________________________


| [[weightRTD]] helicopter |= Syntax
|s1= [[weightRTD]] helicopter


|p1= helicopter: [[Object]] |= Parameter
|p1= helicopter: [[Object]]


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


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


|x1= <code>_taruWeight = [[weightRTD]] taru// Returns [7000,300,1990.56,0,0]</code>|= EXAMPLE1
|seealso= [[setCustomWeightRTD]] [[isObjectRTD]] [[load]] [[getMass]]
 
____________________________________________________________________________________________
 
| [[setCustomWeightRTD]], [[load]], [[getMass]] |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: RTD|{{uc:{{PAGENAME}}}}]]

Latest revision as of 17:03, 15 August 2022

Hover & click on the images for description

Description

Description:
Advanced Helicopter Flight Model
For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.
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:
setCustomWeightRTD isObjectRTD load getMass

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