Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What's the meaning of "Replicate" and "Iterate"?

Asked by
starmaq 1290 Moderation Voter
5 years ago

As far as I know, replicate has a relation with client/server, and iterate has a relation with tables. But idk what they mean, explanation please?

Big tahnks!

1
"replicate" means being able to be copied elsewhere, "iterate" means to repeatedly do something with a table DeceptiveCaster 3761 — 5y
0
These are two unrelated questions? User#5423 17 — 5y
0
sorry kingdom starmaq 1290 — 5y
0
Can you add a bit more context around these questions so we know more about what you are asking. User#5423 17 — 5y
0
sorryh starmaq 1290 — 5y

1 answer

Log in to vote
1
Answered by
BenSBk 781 Moderation Voter
5 years ago
Edited 5 years ago

Replication is the process of something on one machine being copied to another to synchronise the game state. For example, if the server creates a new Part and parents it to Workspace, it will be replicated to every client. For each client, the Part will not exist until it is replicated from the server. This definition is largely specific to multiplayer video game networking.

Iteration is the process of repeating a procedure. For example, if we wanted to go over every key-value pair in a table, we could use a generic for statement with the pairs function to iterate over the table. This definition is largely specific to programming.

0
ohhh ok, this is an epic explanation ty! starmaq 1290 — 5y
Ad

Answer this question