setCustomWeightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - ">Posted on November ([0-9]{1})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-0$1")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| TKOH |Game name=
|game1= tkoh
|version1= 1.00


|gr1= RTD |GROUP1=
|gr1= RTD


|game2= arma3
|version2=1.34


|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}}


|1.00|Game version=
|s1= helicopterRTD [[setCustomWeightRTD]] weight


|game2= arma 3 |Game 2 Name=
|p1= helicopterRTD : [[ObjectRTD]] - helicopter
|p2= weight: [[Number]] - weight (kilograms)


|version2=1.34|Game 2 Version=
|r1= [[Nothing]]


| 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.
|x1= <sqf>myHelicopterRTD setCustomWeightRTD 120;</sqf>
{{Feature|afm}} |DESCRIPTION=
 
| helicopterRTD '''setCustomWeightRTD''' weight|SYNTAX=
 
|p1= helicopterRTD : [[ObjectRTD]] - helicopter |PARAMETER1=
|p2= weight: [[Number]] - weight (kilograms) |PARAMETER2=
 
| [[Nothing]] |RETURNVALUE=
 
|x1= <code>myHelicopterRTD [[setCustomWeightRTD]] 120;</code> |=
 
| [[weightRTD]] |SEEALSO=


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


<h3 style="display:none">Bottom Section</h3>
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]


{{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.