batteryChargeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| TKOH |Game name=
| TKOH


|gr1= RTD |GROUP1=
|gr1= RTD






|1.00|Game version=
|1.00


|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 |DESCRIPTION=
* 1: fully charged


| '''batteryChargeRTD''' helicopterRTD|SYNTAX=
| '''batteryChargeRTD''' helicopterRTD


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


| [[Number]] |RETURNVALUE=
| [[Number]]


|x1= <code>_charge = [[batteryChargeRTD]] [[vehicle]] [[player]];</code>
|x1= <code>_charge = [[batteryChargeRTD]] [[vehicle]] [[player]];</code>


| [[setBatteryChargeRTD]], [[setBatteryRTD]] |SEEALSO=
| [[setBatteryChargeRTD]], [[setBatteryRTD]]


}}
}}

Revision as of 00:02, 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

Bottom Section