|
|
Now that I have the loop-the real fun can begin!!
And for any other noobs out there (using the Windows version), if you are tying
to read or write from an external file- check out the Script I/O Restrictions
in the Documentation.
Thanks again,
audioguytodd
Leroy <lrw### [at] joplincom> wrote:
> audioguytodd wrote:
> > Thanks, it works fine now. However, I could not use count as a variable for some
> > reason.Reseved keyword maybe??? Anyhow- this works. My variable in the text file
> > is <12,23,04>. Then it is read as a vector.
> >
> > #fopen MyFile "c:\filename.txt" read
> > #declare countth =0;
> > #while (defined(MyFile)&(countth<=frame_number))
> > #read (MyFile, Var1, )
> > #declare countth=countth+1;
> > #end
> >
> Cool! Hope hope you have fun animating.
> Sorry for the 'count' word, I used it for clearity in the example.
> I just didn't think. I usually use 'Cnt' as my base counter.
Post a reply to this message
|
|