setCustomWeightRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add Arma 3 script command category)
m (template:command argument fix)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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. |= 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. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| helicopterRTD '''setCustomWeightRTD''' weight|= Syntax
| helicopterRTD '''setCustomWeightRTD''' weight|SYNTAX=


|p1= helicopterRTD : [[ObjectRTD]] - helicopter |= Parameter 1
|p1= helicopterRTD : [[ObjectRTD]] - helicopter |PARAMETER1=
|p2= weight: [[Number]] - weight (kilograms) |= Parameter 2
|p2= weight: [[Number]] - weight (kilograms) |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [[weightRTD]] |= See also
| [[weightRTD]] |SEEALSO=


}}
}}

Revision as of 15:46, 7 April 2019


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.
Groups:
Uncategorised

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

Notes

Bottom Section

Posted on November 4, 2014 - 06:41 (UTC)
Benargee
Value can be negative. Do not set negative value lower than helicopter's total weight.