setCustomWeightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added template)
m (Text replacement - ">Posted on November ([0-9]{1})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-0$1")
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{RV|type=command


{{Command|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| TKOH |= Game name
|gr1= RTD


|1.00|= Game version
|game2= arma3
|version2=1.34


| game2= arma 3 |=
|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|=
{{Feature|afm}}
____________________________________________________________________________________________


| 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.
|s1= helicopterRTD [[setCustomWeightRTD]] weight
{{Feature AFM}} |DESCRIPTION=
____________________________________________________________________________________________


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


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


| [[Nothing]] |RETURNVALUE=
|x1= <sqf>myHelicopterRTD setCustomWeightRTD 120;</sqf>
____________________________________________________________________________________________


|x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code> |=
|seealso= [[weightRTD]]
}}


| [[weightRTD]] |SEEALSO=


}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
<dt></dt>
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
<dd class="notedate">Posted on 2014-11-04 - 06:41 (UTC)</dd>
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: RTD|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 4, 2014 - 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.