batteryChargeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:Take[ _]On[ _]Helicopters:[ _]New[ _]Scripting[ _]Commands[ _]List(\|[^]]+)?\]\]" to "")
m (Text replacement - " {3,}\|" to " |")
Line 4: Line 4:


|gr1= RTD
|gr1= RTD


|1.00
|1.00

Revision as of 18:01, 18 January 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