rp069
|
  |
| Joined: 22 Apr 2011 |
| Total Posts: 6206 |
|
|
| 26 May 2012 07:52 PM |
at the moment I have it opening with 20 cframed bricks for a smooth transition, but it still looks ugly and it takes up over 50 lines of script for me to open just one half of the first section (there's 4 sections, 20 parts each)
I know there's a way to cframe the bricks in the gate so that they open and close like you'd expect a gate to, I just don't know how to do it. help? |
|
|
| Report Abuse |
|
rp069
|
  |
| Joined: 22 Apr 2011 |
| Total Posts: 6206 |
|
|
| 26 May 2012 08:22 PM |
| bump because I keep pushing up other people's posts >~< |
|
|
| Report Abuse |
|
rp069
|
  |
| Joined: 22 Apr 2011 |
| Total Posts: 6206 |
|
| |
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 27 May 2012 04:34 AM |
That's the very hard but simple method of doing it. :p
There's a method which repeats a number in intervals (1, 2, 3, 4, so on) and it looks like this:
for i = 1, 10 do
blahblahblah wait(insertanyamountoftimehere) end
Now, let me explain.
"for i"
for this amount of intervals"
"1, 10"
all numbers between 1 and 10 (1, 2, 3 , 4, 5, 6, 7, 8, 9, 10) This can be changed to anything.
Now, anything before end referred to as "i" will now take that number's place.
So like,
"for 1, 3 do
print("i")
wait(1) end"
Over the course of a total of 3 seconds, it will print this:
"1" "2" "3"
You could also make something like
"for 1, 10 do
print("10 - i")
wait(1) end"
for a countdown effect.
|
|
|
| Report Abuse |
|
rp069
|
  |
| Joined: 22 Apr 2011 |
| Total Posts: 6206 |
|
|
| 27 May 2012 05:31 AM |
the problem with using that is that the labelling system I have goes Gate1a, Gate1b etc. and there's varying amounts of "gates" depending on whether it opens Horizontally or Vertically.
still useful though, I might use that info for a flag or something |
|
|
| Report Abuse |
|