|
![](/i/fill.gif) |
Wasn't it ttread who wrote:
>I guess I will use the animation clock value and test it against a case
>statement to select different strings.
If you've got several parameters to set for each frame, you might
consider storing them in a data file, and reading them like this:
#fopen DATA "data.txt" read
#declare i=0;
#while (i < frame_number)
#read (DATA, Text_var, Float_var, Vector_var)
#declare i=i+1;
#end
The data.txt file would be formatted like this:
"Foo", 1.3, <1.0,2.0,3.0>,
"Bar", 2.2, <1.1,2.1,3.1>,
"Baz", 3.1, <1.2,2.2,3.2>,
(Don't forget the commas on the ends of the lines)
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |