Viewing paste tweenloop
made on Tue, 14 May 2013 15:28:20 -0400
Sane-itized version, click to copy:
&TWEEN.LOOP #388=[setq(I,[add(round(%1,0),1)])][setq(J,[add(round(%1,0),2)])][setq(T,[items(%0,%b)])][if(gt(%qJ,%qT),[setq(J,1)])][setq(A,u(item,%qI,%0))][setq(B,u(item,%qJ,%0))][setq(v,u(tweening,%qt))][u(lerp,%qA,%qB,%qv)]

Enter a target attribute, object reference and the mushcode.


[setq(I,[add(round(%1,0),1)])]
[setq(J,[add(round(%1,0),2)])]
[setq(T,[items(%0,%b)])]
[if(gt(%qJ,%qT),[setq(J,1)])]
[setq(A,u(item,%qI,%0))]
[setq(B,u(item,%qJ,%0))]
[setq(v,u(tweening,%qt))]
[u(lerp,%qA,%qB,%qv)]

save as: imprettify (attempt to format for readibility):
Found this useful? Try MUSHcode Repeater
written by orcs.biz