setCustomWeightRTD: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
BrettMayson (talk | contribs) mNo edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 14: | Line 14: | ||
|s1= helicopterRTD [[setCustomWeightRTD]] weight | |s1= helicopterRTD [[setCustomWeightRTD]] weight | ||
|p1= helicopterRTD : [[ObjectRTD]] - helicopter | |p1= helicopterRTD : [[Object|ObjectRTD]] - helicopter | ||
|p2= weight: [[Number]] - weight (kilograms) | |p2= weight: [[Number]] - weight (kilograms) | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>myHelicopterRTD setCustomWeightRTD 120;</sqf> | ||
|seealso= [[weightRTD]] | |seealso= [[weightRTD]] | ||
| Line 29: | Line 29: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2014-11-04 - 06:41 (UTC)</dd> | ||
<dt class="note">[[User:Benargee|Benargee]]</dt> | <dt class="note">[[User:Benargee|Benargee]]</dt> | ||
<dd class="note">Value can be negative. Do not set negative value lower than helicopter's total weight. | <dd class="note">Value can be negative. Do not set negative value lower than helicopter's total weight. | ||
Latest revision as of 02:32, 3 January 2026
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.
Only post proven facts here! Add Note
- Posted on 2014-11-04 - 06:41 (UTC)
- Benargee
- Value can be negative. Do not set negative value lower than helicopter's total weight.