DCS func enableEmission

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: enableEmission Added with: 2.7
Member Of: Unit, Group
Syntax: nothing Unit.enableEmission(Class Self , boolean setting )
Description: Sets the passed group or unit objects radar emitters on or off. Can be used on sam sites for example to shut down the radar without setting AI off or changing the alarm state.

Return Value: nothing
Return Example:
Related Functions: UnitFunctions: isActive, getPlayerName, getID, getNumber, getController, getGroup, getCallsign, getLife, getLife0, getFuel, getAmmo, getSensors, hasSensors, getRadar, getDrawArgumentValue, getNearestCargos, enableEmission

GroupFunctions: isExist, activate, destroy, getCategory, getCoalition, getName, getID, getUnit, getUnits, getSize, getInitialSize, getController, enableEmission