setCustomWeightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - ">Posted on November ([0-9]{1})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-0$1")
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| TKOH
|game1= tkoh
|version1= 1.00


|gr1= RTD
|gr1= RTD


|1.00
|game2= arma3
|version2=1.34


|game2= arma 3 |Game 2 Name=
|descr= 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.
 
|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.
{{Feature|afm}}
{{Feature|afm}}


| helicopterRTD '''setCustomWeightRTD''' weight
|s1= helicopterRTD [[setCustomWeightRTD]] weight


|p1= helicopterRTD : [[ObjectRTD]] - helicopter
|p1= helicopterRTD : [[ObjectRTD]] - helicopter
|p2= weight: [[Number]] - weight (kilograms)
|p2= weight: [[Number]] - weight (kilograms)


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code>
|x1= <sqf>myHelicopterRTD setCustomWeightRTD 120;</sqf>


| [[weightRTD]]
|seealso= [[weightRTD]]
}}
}}


{{GameCategory|tkoh|Scripting Commands}}


{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dd class="notedate">Posted on November 4, 2014 - 06:41 (UTC)</dd>
 
<dt></dt>
<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.
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 23:12, 13 May 2023

Hover & click on the images for description

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.
Advanced Helicopter Flight Model
For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.
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 2014-11-04 - 06:41 (UTC)
Benargee
Value can be negative. Do not set negative value lower than helicopter's total weight.