|
| 15 Jan 2015 09:31 PM |
How do you repeat an animation endlessly?
Without a loop, is there a repeat function or something? |
|
|
| Report Abuse |
|
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
| |
|
| |
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
|
| 15 Jan 2015 09:55 PM |
no, loop the function. there's no other way that I'm aware of. |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 10:05 PM |
What do you mean loop the function?
I need a animation to keep replaying over and over without any pauses. |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 10:09 PM |
| When you create the animation, I think there is a way to set it to loop. |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 10:26 PM |
And where might this loop thing be?
I really need to figure this out. Right now I've got a while loop playing the animation every 1.8 seconds, but it looks choppy when it has to reset. And if the game has lag it will corrupt this. |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 10:28 PM |
| I know how but i'm to lazy to help any one right now plus i'm not in a good mood since no one wants to help me. |
|
|
| Report Abuse |
|
|
zetaflop
|
  |
| Joined: 26 Dec 2014 |
| Total Posts: 7 |
|
|
| 15 Jan 2015 10:41 PM |
http://wiki.roblox.com/index.php?title=Animations#Looping
>petaflop |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 11:16 PM |
Okay so I'm using this code from the wiki. But how do you name a keyframe? Like the last fame of my animation for example?
-- Import animation local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=203946055" -- code from the wiki modified for a character in my game. But how would I name --my last frame for example "Last Frame" like they did "ElectrocuteEnd"
-- Local variables local animTrack = nil local canPlay = true function playShockAnim(Source) if canPlay then local player = script.Parent canPlay = false animTrack = player.Zombie:LoadAnimation(animation) -- Load animation into Humanoid animTrack.KeyframeReached:connect(function(keyframeName) -- Bind function to KeyframeReached event if keyframeName == "ElectrocuteEnd" then canPlay = true end end) animTrack:Play() -- Start the animation end end |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 11:45 PM |
| Anyone? I set my animation to loop in the creator menu plugin. But I can't get this to loop endlessly I don't understand how the wiki put it. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 19 Jan 2015 08:59 PM |
| Day 3...No sign of intelligent life. |
|
|
| Report Abuse |
|
|
|
| 20 Jan 2015 01:50 PM |
| O_O DOESN'T ANYONE KNOW ANYTHING ABOUT THIS!???????????????? |
|
|
| Report Abuse |
|
|
| |
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 20 Jan 2015 02:06 PM |
@TheNextEvolution why you do dis? What is no one helping you on?
Hey, check this place out! http://www.roblox.com/Maze-Escape-Deep-Alpha-place?id=194858740 |
|
|
| Report Abuse |
|
|
|
| 20 Jan 2015 02:22 PM |
| Evolution then please share your vast knowledge of the subject. |
|
|
| Report Abuse |
|
|