I use a python script that loads obj, in my case lights, into a textscrolllist and they get listed by name. Loading them in the beginning is no problem. The big problem is that i would like to select ind. obj in the scene dep. on what obj(name) i have selected in the textscrolllist and them then delete that obj from the first textscrollList and add them to another textscrollList. I do not want to decide in the script which light that should be selected.
I think it has something to do with this line:
str selLight=textScrollList q=si='aLightList';
I think I know what the line is intended for, but I dont get the structure.
Its the only part of the script i dont get, so some help would be greatly appreciated!