Tattooshop Posted September 19, 2020 Posted September 19, 2020 Hello! I'm using this script to animate a texture, but it only preloads one of them on hidden face. how to make it preload 3 textures at once on different faces? integer count; default { state_entry() { llSetTimerEvent(TIMER); } timer() { llSetTexture(llList2Key(texture,count), SHOWN_FACE); ++count; count %=llGetListLength(texture); llSetTextureAnim(ANIM_ON | LOOP, SHOWN_FACE, FRAMES_X, FRAMES_Y, 0.0, ALL_FRAMES, ANIM_RATE); llSetTexture(llList2Key(texture,count), HIDDEN_FACE); } }
Tattooshop Posted September 19, 2020 Author Posted September 19, 2020 6 minutes ago, Rolig Loon said: Study this >>> Thank you so much! additional two lines llSetTexture(llList2Key(texture1, count1-2), HIDDEN_FACE_2); llSetTexture(llList2Key(texture1, count1-3), HIDDEN_FACE_3); seems does the job! 1
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now