setCustomWeightRTD

From Bohemia Interactive Community
Revision as of 07:02, 9 January 2021 by Lou Montana (talk | contribs) (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Add virtual custom weight to a helicopter's center of gravity. This can be used to simulate added internal payload for specific scenarios, and affects the flight model.
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.
Groups:
RTD

Syntax

Syntax:
helicopterRTD setCustomWeightRTD weight
Parameters:
helicopterRTD : ObjectRTD - helicopter
weight: Number - weight (kilograms)
Return Value:
Nothing

Examples

Example 1:
myHelicopterRTD setCustomWeightRTD 120;

Additional Information

See also:
weightRTD

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

Notes

Bottom Section

Posted on November 4, 2014 - 06:41 (UTC)
Benargee
Value can be negative. Do not set negative value lower than helicopter's total weight.