setCustomWeightRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>") |
||
Line 19: | Line 19: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>myHelicopterRTD setCustomWeightRTD 120;</sqf> | ||
|seealso= [[weightRTD]] | |seealso= [[weightRTD]] |
Revision as of 13:25, 5 May 2022
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.