Code:
I put the missing [ which fixed the error that was stll coming up but unfortunately the swf output is still not working.vec.Set(tab[p][1],tab[p]2])) ---<<< This fills the 2D vector with the proper values
D.K
Moderators: Víctor Paredes, Belgarath, slowtiger
Basically the script is keying a layer that normally would not move that way. Also that layer could never have keys added because it is moved by bones. So the magic script copies that motion and transfers it to another duplicate layer.synthsin75 wrote:Mmm, if your using the script to set keyframes, aren't you better off just not using the script? Maybe I'm missing something (like the script not working for SWF). I'm not sure how useful it is to have an instance that doesn't update. It seems like duplicating the layer after animating it is the same thing as this script mod.
Please explain the benefits to me. Like I said, I may be missing something.![]()
Sorry to have misled you on a solution DK.
Code: Select all
local vec = LM.Vector2:newlocal() ---<<< This create a needed 2D vector