batteryChargeRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| TKOH | | TKOH | ||
|gr1= RTD | |gr1= RTD | ||
|1.00 | |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 | * 1: fully charged | ||
| '''batteryChargeRTD''' helicopterRTD | | '''batteryChargeRTD''' helicopterRTD | ||
|p1= helicopterRTD: [[ObjectRTD]] - helicopter | |p1= helicopterRTD: [[ObjectRTD]] - helicopter | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>_charge = [[batteryChargeRTD]] [[vehicle]] [[player]];</code> | |x1= <code>_charge = [[batteryChargeRTD]] [[vehicle]] [[player]];</code> | ||
| [[setBatteryChargeRTD]], [[setBatteryRTD]] | | [[setBatteryChargeRTD]], [[setBatteryRTD]] | ||
}} | }} |
Revision as of 00:02, 18 January 2021
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