|
| 11 Apr 2015 05:21 AM |
Oddly enough the first one does, the others don't. (I wont paste in 300 lines, so I shortened it.):
for i=1, 1 do script.Parent.PLEXUS.Image = "rbxassetid://236256364" wait(0.1) script.Parent.PLEXUS.Image = "rbxassetid://236256389" wait(0.1) script.Parent.PLEXUS.Image = "rbxassetid://236256422" wait(0.1) script.Parent.PLEXUS.Image = "rbxassetid://236256468" wait(0.1) script.Parent.PLEXUS.Image = "rbxassetid://236256494" end |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2015 05:23 AM |
use while wait(0.1) do instead. for i = 1, 1 won't work, as there is no difference between 1 and 1. Here's the new code.
while wait(0.1) do script.Parent.PLEXUS.Image = "rbxassetid://236256364" wait(0.1) script.Parent.PLEXUS.Image = "rbxassetid://236256389" wait(0.1) script.Parent.PLEXUS.Image = "rbxassetid://236256422" wait(0.1) script.Parent.PLEXUS.Image = "rbxassetid://236256468" wait(0.1) script.Parent.PLEXUS.Image = "rbxassetid://236256494" end |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Apr 2015 05:24 AM |
@Seizure actually it will work
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio > for i = 1, 1 do print("works") end works > |
|
|
| Report Abuse |
|
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Apr 2015 05:27 AM |
| he didn't say he wanted it doing it infinitely |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2015 05:28 AM |
He said '(I don't want to paste 300 lines)'.
Hmmm :o? |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Apr 2015 05:30 AM |
| 150 different frames for his small gif-like animation thing? |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2015 05:35 AM |
| Yeah, basicly, a plexus animation from After Effects, of which I turned into frames. |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
|
| 11 Apr 2015 06:10 AM |
Let's try an alternative way. :P
images = {"rbxassetid://236256364","rbxassetid://236256389","rbxassetid://236256422","rbxassetid://236256468","rbxassetid://236256494"}
for i, v in pairs(images) do script.Parent.PLEXUS.Image = v wait(0.1) end |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2015 06:54 AM |
Well kindof don't want to make a news script after just finishing this one, and the amount of assets is over 100.
One problem now: How do I stop flickering? So when it changes it doesn't give a flash of white? |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2015 07:11 AM |
| You should preload the assets before running the animation. Also, if you wish, you could pm me the script. I can just do some REGEX magic to put it all into a table :) |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2015 07:31 AM |
| Roblox is playing a joke on me. All the assets broke, no idea why and I can't be bothered to type every single 179 asset numbers in AGAIN. F THIS, IM GOING BACK TO UNITY IF I CAN'T FIX THIS. |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2015 07:34 AM |
| How do you mean all the asserts broke? |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2015 07:52 AM |
| Basicly I get a long spam of errors. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|