Sets an object mesh to use the specified image as a lightmap. The lightmap will be placed in texture stage 1, overwriting anything that is already there and will have a shader generated that combines it with texture stage 0, and any dynamic lighting, to correctly light the object. If you are setting your own shader with SetObjectShader then your shader will have to make use of the lightmap itself as AGK will not modify your shader in this way. Mesh indices are in the range 1 to GetObjectNumMeshes
SetObjectMeshLightMap( objID, meshIndex, imageID )