#define FOREACH_light(light) for(DWORD light=STATE_light2_get_first_light(); light!=NULL; light=STATE_point_get_next_point(light))
Sets the location of the light.
Example
double location[3]={10,20,30} setting the X,Y,Z coordinates
STATE_light2_set_location(my_light,location);