|
| 04 Jun 2012 04:30 PM |
Please could you help me? I'm trying to teach myself some animations, But the tutorial on the Wiki is outdated and the methored is dead but I know theres a way to code animations, and on the object>Insert theres a "Animation" thing there. So could someone show me a tutorial to the basics of this code, or could someone explain the 'new' animate system Please i'm so confused |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 04 Jun 2012 05:48 PM |
I don't know what the whole Animation instance is used for, I think I only see it in viruses anyway.
Just add a table that holds the location of your objects, move the objects and add their CFrame values to the table; after that is finished, make another script to make that animation come to life. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 06:24 PM |
So like printing the values, and making a script to script it to those, I think I have the Idea, using varibles right? could you give me a small example Please?
Thankyou you have been a great help |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 07:37 PM |
| I'm sorry but I don't get it, could you explain some more? |
|
|
| Report Abuse |
|
|
|
| 06 Jun 2012 02:24 PM |
I'm late, but something like this:
local pos = {} function newFrame(obj) pos[#pos+1] = {} for i=1, #obj:GetChildren() do if obj:GetChildren()[i].className == "Part" then pos[#pos+1][obj:GetChildren()[i].Name] = {} pos[#pos+1][obj:GetChildren()[i].Name].Object = obj:GetChildren()[i] pos[#pos+1][obj:GetChildren()[i].Name].Pos = obj:GetChildren()[i].CFrame end end end function loadFrame(Frame_num) frame=pos[Frame_num] for i=1, #frame do frame[i].Object = frame[i].Pos end end
Not sure if that'll work, but.. yeah. |
|
|
| Report Abuse |
|
|
kert109
|
  |
| Joined: 31 Dec 2009 |
| Total Posts: 681 |
|
|
| 06 Jun 2012 02:26 PM |
| Do animation with weld. :) |
|
|
| Report Abuse |
|
|