setCustomWeightRTD: Difference between revisions
Jump to navigation
Jump to search
m (Add Arma 3 script command category) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| helicopterRTD '''setCustomWeightRTD''' weight|= | | helicopterRTD '''setCustomWeightRTD''' weight|SYNTAX= | ||
|p1= helicopterRTD : [[ObjectRTD]] - helicopter |= | |p1= helicopterRTD : [[ObjectRTD]] - helicopter |PARAMETER1= | ||
|p2= weight: [[Number]] - weight (kilograms) |= | |p2= weight: [[Number]] - weight (kilograms) |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code> |= | |x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code> |= | ||
| [[weightRTD]] |= | | [[weightRTD]] |SEEALSO= | ||
}} | }} |
Revision as of 14:46, 7 April 2019
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:
- Uncategorised
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.
Categories:
- Scripting Commands
- Introduced with Take On Helicopters version 1.00
- Take On Helicopters: New Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands Take On Helicopters
- Take On Helicopters: New Scripting Commands List
- Command Group: RTD
- Scripting Commands Arma 3