setCustomWeightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *tkoh *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - ">Posted on November ([0-9]{1})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-0$1")
 
(9 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
 
|game2= arma 3
|version2=1.34
|version2=1.34


| 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.
|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.
{{Feature|afm}}
{{Feature|afm}}


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


|p1= helicopterRTD : [[ObjectRTD]] - helicopter
|p1= helicopterRTD : [[ObjectRTD]] - helicopter
Line 20: Line 19:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[weightRTD]]
|seealso= [[weightRTD]]
Line 26: Line 25:




{{GameCategory|arma3|Scripting Commands}}


<dl class="command_description">
<dl class="command_description">


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on November 4, 2014 - 06:41 (UTC)</dd>
<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>

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.