setCustomWeightRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
||
Line 4: | Line 4: | ||
|version1= 1.00 | |version1= 1.00 | ||
|gr1= | |gr1= RTD | ||
|game2= arma3 | |game2= arma3 | ||
Line 12: | Line 12: | ||
{{Feature|afm}} | {{Feature|afm}} | ||
|s1= | |s1= helicopterRTD '''setCustomWeightRTD''' weight | ||
|p1= helicopterRTD : [[ObjectRTD]] - helicopter | |p1= helicopterRTD : [[ObjectRTD]] - helicopter |
Revision as of 22:29, 19 June 2021
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:
- 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 November 4, 2014 - 06:41 (UTC)
- Benargee
- Value can be negative. Do not set negative value lower than helicopter's total weight.