|
| 11 Jan 2014 01:01 AM |
Hello scripters,
For the one who like tough questions (or this won't be as tough, depends how good you're), here I got a question for you.
while wait() do CFrame.new(1,.5,1) -- originally supports the welding of an object. wait() CFrame.new(1,3,.4,1) wait() CFrame.new(1,1,.2,1) wait() CFrame.new(1,4,.6,1) end
These are the lines of an animation. But here is the question: How can I shorter this, to ONE line. So like:
while wait() do CFrame.new(1,.5,1) -- first time will be this, next time will be CFrame.new(1,3,.4,1) etc.
wait() end |
|
|
| Report Abuse |
|
|
| 11 Jan 2014 01:27 AM |
| You could use a loop if there was a more definite pattern. |
|
|
| Report Abuse |
|
|
| 11 Jan 2014 01:33 AM |
| I don't really need a loop since I got a TweenWeld() function that makes animations smooth. Thanks anyway. |
|
|
| Report Abuse |
|