|
| 18 Apr 2014 11:24 AM |
I would like to know a way to save all of the original CFrame values in the bricks in a model.
The easiest way I can think of would to just put CFrameValues in all of the blocks and read from those after they're set at the beginning.
But I would like to know how it could be done without them.
Anyone? |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Apr 2014 11:27 AM |
| I always forget tables are a thing. They seem really useful but I neglect them. I'll be back with what I come up with.. if it doesn't work, that is. |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:28 AM |
| Also seems like for the longest time I had been mistaking tables for something else.. |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:32 AM |
this is a interesting thing also
local bool = true if bool then print("its true") else print("its false") end
can be shortened
local bool = true print( (bool and "its true" or "its false") )
its very useful for things
while wait(1) do script.Parent.Transparency = (script.Parent.Transparency == 0 and 0.5 or (script.Parent.Transparency == 0.5 and 1 or 0)) end |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:32 AM |
Tables are like a list What do you need help with? |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:33 AM |
| I mistook them for something else :s |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:35 AM |
| You understand them now though right? |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:37 AM |
| I did before, I've BEEN using them, I always mistook the name for something else. I have no idea how. I'm not the brightest person.. |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:38 AM |
| What did you think tables were :3 |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:43 AM |
I'm not sure, actually..
I DON'T KNOW HOW MY BRAIN WORKS |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2014 11:45 AM |
p.s. https://www.youtube.com/watch?v=Hy8dlSEu6k8 |
|
|
| Report Abuse |
|
|
| |
|