generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Desperate

Previous Thread :: Next Thread 
yoyoking11 is not online. yoyoking11
Joined: 11 Jul 2010
Total Posts: 217
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
yoyoking11 is not online. yoyoking11
Joined: 11 Jul 2010
Total Posts: 217
04 Jun 2012 04:47 PM
Bump
Report Abuse
yoyoking11 is not online. yoyoking11
Joined: 11 Jul 2010
Total Posts: 217
04 Jun 2012 04:59 PM
Bump
Report Abuse
yoyoking11 is not online. yoyoking11
Joined: 11 Jul 2010
Total Posts: 217
04 Jun 2012 05:43 PM
Bump
Report Abuse
ServerLabs is not online. ServerLabs
Joined: 29 Dec 2010
Total Posts: 2263
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
yoyoking11 is not online. yoyoking11
Joined: 11 Jul 2010
Total Posts: 217
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
yoyoking11 is not online. yoyoking11
Joined: 11 Jul 2010
Total Posts: 217
04 Jun 2012 07:37 PM
I'm sorry but I don't get it, could you explain some more?
Report Abuse
ServerLabs is not online. ServerLabs
Joined: 29 Dec 2010
Total Posts: 2263
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 is not online. kert109
Joined: 31 Dec 2009
Total Posts: 681
06 Jun 2012 02:26 PM
Do animation with weld. :)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image