|
| 04 Jun 2012 08:59 PM |
| if you do something in pairs, does that mean your doing all of it in the same time? or wut. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 09:03 PM |
for var1, var2 in function, table do
end
That is the format, however, what we usually use is:
for i, v in pairs(table) do
end
pairs is a function that returns a function (next) and the same table:
for i, v in next, table do
end
"in" and "pairs" have nothing to do with each other.
And no, it follows an order, one at a time, just very fast, so it looks like its at the same time. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 09:04 PM |
wut if you put a wait will it still be fast :3
|
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 09:10 PM |
| It will wait x times the amount of items in the table, x being the time in the wait; If I have a table with 13 objects and my wait is 0.5 seconds, it will wait 6.5 seconds. |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jun 2012 09:12 PM |
what if i have
Stop(it)
in there
function Stop(please) wait(2) end |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 09:16 PM |
| It will wait 2 times the amount of objects in the table. o: |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jun 2012 09:18 PM |
WHAT IF THERES MATH STOPPING IT! :O
((((((2+4)+5)+2)+453)+653534534534543)+(script.Parent.Position.Y)) |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 09:18 PM |
| Math doesn't make a computer slower... Have you used a calculator? |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 09:19 PM |
| Yes. Siri said Let me think: waited 2 seconds then said: 2 |
|
|
| Report Abuse |
|
|