place it on the plane and activate it with a logical signal or via API!
it leaves behind a cloud of foil that smoothly descends to the ground, the radar beam does not pass through it.
These pieces of foil are displayed on radar as separate parts of the aircraft, which confuses missiles with homing
It can only work once, it is recharged when installed on the lift
component name - chaff
methods:
- chaff.isAvailable():boolean - returns true if it is currently possible to activate chaff, and false if it has already been used
- chaff.push():boolean - if chaff has not been used yet, it activates it and returns true. if it has already been used it returns false
- chaff.shot():boolean - makes only one shot. if you want to use push after that, it will take one less shot
- chaff.maxCharges():number - returns the maximum number of shots that can be fired (50)
- chaff.getCharges():number - returns the remaining number of shots (default: 50)