DCS func enableEmission

From DCS World Wiki - Hoggitworld.com
Revision as of 20:51, 14 April 2021 by Grimes (talk | contribs) (Created page with "{{Template:dcs_funcs |fName= enableEmission |vNum= 2.7 |par1= Unit |par2= Group |par3= |par4= |desc= Sets the passed group or un...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:
Examples:
Related Functions: UnitFunctions: isActive, getPlayerName, getID, getNumber, getCategoryEx, getObjectID, getController, getGroup, getCallsign, getLife, getLife0, getFuel, getAmmo, getSensors, hasSensors, getRadar, getDrawArgumentValue, getNearestCargos, enableEmission, getDescentCapacity


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

Notes: