Difference between revisions of "DCS func enableEmission"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= enableEmission |vNum= 2.7 |par1= Unit |par2= Group |par3= |par4= |desc= Sets the passed group or un...")
 
 
Line 3: Line 3:
 
|fName= enableEmission
 
|fName= enableEmission
  
|vNum= 2.7
+
|vNum= 2.7.0
  
 
|par1= [[DCS_Class_Unit|Unit]]
 
|par1= [[DCS_Class_Unit|Unit]]
Line 43: Line 43:
 
}}
 
}}
 
[[Category:Class Functions|enableEmission]]
 
[[Category:Class Functions|enableEmission]]
 +
[[Category:Game Patch 2.7.0|enableEmission]]

Latest revision as of 00:08, 21 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: enableEmission Added with: 2.7.0
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: