setBatteryChargeRTD

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Take On Helicopters version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.00

Description

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

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

Multiplayer:
-
See also:
batteryChargeRTDsetBatteryRTD

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section