DCS func enableEmission
From DCS World Wiki - Hoggitworld.com
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
| ||
Notes: |