setCustomWeightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Feature|AFM}}" to "{{Feature|afm}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
Line 44: Line 44:
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]



Revision as of 07:02, 9 January 2021

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.