setCustomWeightRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| TKOH |Game name= | | TKOH |Game name= | ||
Line 13: | Line 12: | ||
|version2=1.34|Game 2 Version= | |version2=1.34|Game 2 Version= | ||
| 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. | | 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. | ||
{{Feature|afm}} |DESCRIPTION= | {{Feature|afm}} |DESCRIPTION= | ||
| helicopterRTD '''setCustomWeightRTD''' weight|SYNTAX= | | helicopterRTD '''setCustomWeightRTD''' weight|SYNTAX= | ||
Line 25: | Line 22: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code> |= | |x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code> |= |
Revision as of 02:30, 17 January 2021
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.
- 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.