#what are things ingame made using meta tables
1 messages · Page 1 of 1 (latest)
oop
easily make items like consumables in a more data-structured way
cant u just do a regular module script with a regular table. why use meta table instead or at all
do i have to learn all the meta methods
:<
i just dont get the use of meta tables
What exactly does Object Oriented Programming mean
uh
basicly instead of
not oop
module.function(Something)
oop
Something:function()
Something is not a module btw
parameter?
what do you mean?
a table
sorry
for not explaining
so you can basicly do
{Name = "Freddy"}:Hello()
but this is incomplete
you need to create a table for the function
set the metatable to that table
and create an hello function
so... a meta table is a table inside a table with a bunch of stuff to control something?
uh
i feel like am rushing the process
if am tryna learn OOP where should i start
By making smth simple
seach up a toturial on roblox devforum
a meta table is a special table where magical things happen so we can have classes