Hello,
I am trying to read some numbers key frames for an object from a text file, i managed to make them being red but the object freezez, the key frame represents the idle animation. Here is the code:
Thank You very much for your help!
openr2 = openr2 + 1
if openr2 = 2
open to read 2, "Media Packs\Scripts\Slot1\animationframes.txt"
while file end(2) = 0
read string 2, ss$
read string 2, sss$
endwhile
close file 2
endif
if s$ = "{glscript animate object.animation frame calculate.set animation}"
loop object 73654, val(ss$),val(sss$)
endif
endif
Alex Matei CEO
www.alexmatei.com