batteryChargeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| tkoh
|game1= tkoh
|version1= 1.00


|gr1= RTD
|gr1= RTD


|descr=1.00
|descr= Returns the current charge of a helicopter's batteries.
 
|Returns the current charge of a helicopter's batteries.
* 0: empty
* 0: empty
* 1: fully charged
* 1: fully charged


|s1= '''batteryChargeRTD''' helicopterRTD
|s1= [[batteryChargeRTD]] helicopterRTD


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

Revision as of 23:21, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns the current charge of a helicopter's batteries.
  • 0: empty
  • 1: fully charged
Groups:
RTD

Syntax

Syntax:
batteryChargeRTD helicopterRTD
Parameters:
helicopterRTD: ObjectRTD - helicopter
Return Value:
Number

Examples

Example 1:
_charge = batteryChargeRTD vehicle player;

Additional Information

See also:
setBatteryChargeRTDsetBatteryRTD

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