DCS func getCode

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: getCode Added with: 1.2.6
Member Of: Spot
Syntax: function Spot.getCode(Class Self )
Description: Returns the number that is used to define the laser code for which laser designation can track. Default and max value is 1688

Return Value: function
Return Example: 1337
Related Functions: Spot Functions: createLaser. createInfraRed, destroy, getCategory, getPoint, setPoint, getCode, setCode