I'm writing a script and got stuck trying to create a material with an image sequence.
When I create one manually, when I select the JPG it gives me a checkbox to determine if it's going to be a sequence or not, and then the following pop-up asks me start and end frame information. However when it's done the only code it spits out is for assigning the bitmap, but it doesn't setup the sequence. If I run the script, it simply assigns it as a regular bitmap material and doesn't change when you change the frame.
meditMaterials.diffuseMap = Bitmaptexture fileName:jpgPath
The first time I create an image sequence manually it creates an IFL file in the same folder. If I load that file with my script instead of the JPG, the sequence works and the material image changes with each frame. But I can't get an IFL until I create a sequence initially. So, I either need a way to create the IFL, or find a work-around to get the sequence to work through the script. Any ideas?