View Full Version : PreviewFirstFrame & PreviewLastFrame

02-24-2004, 11:36 PM
OK after my last stupid question, I'm reluctant to ask... but...

I know I can set PreviewFirstFrame and PreviewLastFrame

But is there a way I can access these variables in LScript without resorting to reading the scene file directly? BTW, this is for an Item Animation and I want to store these variables in globals in the create function for later use.

03-03-2004, 01:22 AM
Kvaalen was kind enough to give me the following answer:

scene = Scene();
endFrame = scene.previewend;
startFrame = scene.previewstart;

I thought I'd share it for those that didn't know the answer.:)

09-15-2004, 02:48 PM
Just wanted to let ya know that somebody was looking for it, and they found it because you were kind enough to post it.