Oki,
It's still the same thing, the item scaling thing. I need to export all the items as animation. 10 frames animation.
First 5 frames is scaling
up and last 5 scaling
down.
Action for the
first frame of each item animation.
setAnimFrames(name, 1,1)
if game.CurrentObject:getName() == name then
setAnimFrames(name, 1,5)
end
for the
fifth frame
setAnimFrames(name, 5,5)
if game.CurrentObject:getName() ~= name then
setAnimFrames(name, 5,10)
end
So basically what i want is do it
automatically for all the items in the game as i'm
too lazy do it manually for each of them ( And there will be more items in the future )
So i know how to acces all the game items
local items = game:getLinks(VGameItems)
And all the item's animations
for i =1, #items do
animation = Objects[items[i]:getName()]:getLinks(VObjectAnimations)
end
But its all pointless if i can't
loop through the animation itself to set (link, add) the actions to the frames ( only 3 actions for all items - first frame action, 5 frame, 10 frame )
..and this is exactly what is supposed to happen!
