setBatteryChargeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *tkoh * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= tkoh |version1= $1 ")
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= RTD
|gr1= RTD


|descr=Set the actual battery charge of a helicopter.
|descr=Set the actual battery charge of a helicopter.
Line 10: Line 10:
* 1: fully charged
* 1: fully charged


|s1= helicopterRTD '''setBatteryChargeRTD''' charge
|s1= helicopterRTD '''setBatteryChargeRTD''' charge


|p1= helicopterRTD: [[ObjectRTD]] - helicopter
|p1= helicopterRTD: [[ObjectRTD]] - helicopter

Revision as of 23:26, 19 June 2021

Hover & click on the images for description

Description

Description:
Set the actual battery charge of a helicopter.
  • 0: no charge
  • 1: fully charged
Groups:
RTD

Syntax

Syntax:
helicopterRTD setBatteryChargeRTD charge
Parameters:
helicopterRTD: ObjectRTD - helicopter
charge: Number - battery charge level
Return Value:
Nothing

Examples

Example 1:
vehicle player setBatteryChargeRTD 0.5;

Additional Information

See also:
batteryChargeRTDsetBatteryRTD

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