setCustomWeightRTD: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| TKOH | | TKOH | ||
|gr1= RTD | |gr1= RTD | ||
|1.00 | |1.00 | ||
|game2= arma 3 |Game 2 Name= | |game2= arma 3 |Game 2 Name= | ||
Line 14: | Line 14: | ||
| 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}} | {{Feature|afm}} | ||
| helicopterRTD '''setCustomWeightRTD''' weight | | helicopterRTD '''setCustomWeightRTD''' weight | ||
|p1= helicopterRTD : [[ObjectRTD]] - helicopter | |p1= helicopterRTD : [[ObjectRTD]] - helicopter | ||
|p2= weight: [[Number]] - weight (kilograms) | |p2= weight: [[Number]] - weight (kilograms) | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code> | |x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code> | ||
| [[weightRTD]] | | [[weightRTD]] | ||
}} | }} |
Revision as of 11:11, 18 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
- Posted on November 4, 2014 - 06:41 (UTC)
- Benargee
- Value can be negative. Do not set negative value lower than helicopter's total weight.