better than most programing guides , explaining all really good so far really enjoy this, I also use some other langueges but still i find these guides really good GJ man
NexerdGamer Thanks a lot! I always worry about the quality of these guides and whether people can easily follow what I'm saying so this gives me more confidence to hear! :)
Really nice guides - i've been trying to understand lua from various writen guides, but your guides gives so much more understanding so much quicker, then i would ever be able to read. Can't wait for future episodes! Keep up the good work.
This is great. Programming can be something very tough to convey clearly, but I think you are doing very well. I have never messed with lua, so I am enjoying going through this series. Thanks!
Hey. First of all, good job and well done!!! I just found your tutorials. Although most of the things I already knew, these are still incredibly useful videos. I really like how you explain the essence in just a few words. As an example, the `#` operator is one of the most confusing elements in lua along with "." and ":". Therefore, well done on pointing out what it actually returns when we have a nil value in a table. I believe it was not an easy task to complete it, so I am grateful for your effort. I can say this will be one of the best material to refer even if it's 5 years old to anyone who asked me how to learn addons.
In your initial table example, where you have ' options = {class="Warrior"} ', you CAN access the class attribute using the options["class"] syntax. using options.class is NOT the only way.
Great video. Just one note: the address of the table printed by the first pop() call can't contain "G" and "K" characters because hexadecimal numbers can't have a value bigger than "F".
I'm so lost and confused... but i will keep watching, reading, and researching... till it all makes sense. From the perspective of one whom only knows htm I think these vids require a higher level of knowledge of coding to really understand. K back to watching :)
Inside a Function I get the value for function[1] outside I get the function id. Why is that happening? I need the value outside the function. I returned the exact table name.
I have been recently thinking about that and would want to. Time is definitely a problem for me with too much Uni work but I will try harder to make time available in future. I cannot say when the series will be coming back but I won't forget about it.
That with key and strings was so confusing because different examples were showing... @.@ And the last hting , too. I don't even understand for what that could be needed...
Just for clarification, the difference between a variable and a string is that a string must appear between quotation marks and a variable does not, right?
-- What I found confusing was when I saw " options ["size"] = 10 " -- What I think it means. size is just some average name and not the size of this table. -- Lets just make an array called helmet and put a description of the helmet. -- Tables can just grow dynamically -- - I put nothing in the indexed part -- just adding some key value pairs to an empty table. local helmet ={} -- empty table helmet ["color"] = "gray" -- Helmet is just a key and it's value is gray. This is the key value pair. helmet ["shape"] = "donkey" -- another key helmet ["facemask"] = "black" -- another key -- where do these key value pairs go in the table? -- at this point who cares. just some bizarre list called a hash table. not a file hash -- To print out the helmet shape. print (helmet ["shape"]) -- you can copy and paste my entire comment into a wow LUA addon file and run it. -- I really enjoy this series of videos, the best of it's kind.
I liked this, series so far, but around 10m is when I stopped understanding anything. This is probably more lua's fault than Mayron's. Any programming language that doesn't require something to make it clear what is a variable, such as a $ in front ($ThisIsMyVariable) doesn't deserve to be used, and should be moved away from. And why would you not start an array from 0 like every other language in the world?
better than most programing guides , explaining all really good so far really enjoy this, I also use some other langueges but still i find these guides really good GJ man
NexerdGamer Thanks a lot! I always worry about the quality of these guides and whether people can easily follow what I'm saying so this gives me more confidence to hear! :)
Sorry that I ended this series but it WILL return and I am going to upload a vlog at some point to explain when and what's happening.
Really nice guides - i've been trying to understand lua from various writen guides, but your guides gives so much more understanding so much quicker, then i would ever be able to read.
Can't wait for future episodes! Keep up the good work.
This is great. Programming can be something very tough to convey clearly, but I think you are doing very well. I have never messed with lua, so I am enjoying going through this series. Thanks!
Hey. First of all, good job and well done!!!
I just found your tutorials. Although most of the things I already knew, these are still incredibly useful videos. I really like how you explain the essence in just a few words. As an example, the `#` operator is one of the most confusing elements in lua along with "." and ":". Therefore, well done on pointing out what it actually returns when we have a nil value in a table.
I believe it was not an easy task to complete it, so I am grateful for your effort. I can say this will be one of the best material to refer even if it's 5 years old to anyone who asked me how to learn addons.
after 9 year still best tutorial i can find
Another great episode, looking forward to seeing some GUI work here. Keep up the great work and thank you for continuing to make these.
In your initial table example, where you have ' options = {class="Warrior"} ', you CAN access the class attribute using the options["class"] syntax. using options.class is NOT the only way.
5:13 why it called "hash" table?
Very nice!
Please continue this serie!
Good job man, waitng for other parts!
Thanks for the great video!
PS: table.maxn (table)
Returns the largest numeric index, not afraid of nil values
I just want to cheer you on. I think your great at making tutorials.
Im only waiting for the xml tutorial now :P
I'm looking forward for next guides!
Great video. Just one note: the address of the table printed by the first pop() call can't contain "G" and "K" characters because hexadecimal numbers can't have a value bigger than "F".
I'm so lost and confused... but i will keep watching, reading, and researching... till it all makes sense. From the perspective of one whom only knows htm I think these vids require a higher level of knowledge of coding to really understand. K back to watching :)
Thank you very much for this :)
Inside a Function I get the value for function[1] outside I get the function id. Why is that happening? I need the value outside the function. I returned the exact table name.
hi i dont know if you have the time but if you do couldnt you start up the series about making ur own ui again? it was awsome
I have been recently thinking about that and would want to. Time is definitely a problem for me with too much Uni work but I will try harder to make time available in future. I cannot say when the series will be coming back but I won't forget about it.
Mayron's Hideout okay sounds nice:) btw always prio ur life. take your time and do it then you can:)
That with key and strings was so confusing because different examples were showing... @.@ And the last hting , too. I don't even understand for what that could be needed...
A shame that you stopped the series, I'm really looking for a good way to learn how to actually make a UI with XML or something similar.
He must have been busy but he did do an episode 4
Hey, towards the end of the video does the pop function within the print function gets called?
Episode 4? Eta? These are really helpful!
He must have been busy but he did do an episode 4
Indexes of Arrays in Lua don't start with 0 by convention but with 1?
That's unusual...
Weisswurstesser Yes correct. Not sure why they chose to go with that. Makes it confusing for those who come from different programming backgrounds.
Still useful, tank you!
Just for clarification, the difference between a variable and a string is that a string must appear between quotation marks and a variable does not, right?
Yes correct, but inside of a table you can either use variable names or keys where keys are strings inside of square brackets.
hey I like the way you teach
got a little lost
Tried to make my funktion working with tables but I ended up using a bad list . :(
Hey mate, you still active on this youtube channel for a question?
It’s not zero indexed that’s so weird hahaha
Yep. Even to this day I still get confused when switching between languages.
@@PyronTheMage are you planing to make more addon development videos you are like the only channel that’s made videos on it!
-- What I found confusing was when I saw " options ["size"] = 10 "
-- What I think it means. size is just some average name and not the size of this table.
-- Lets just make an array called helmet and put a description of the helmet.
-- Tables can just grow dynamically
-- - I put nothing in the indexed part
-- just adding some key value pairs to an empty table.
local helmet ={} -- empty table
helmet ["color"] = "gray" -- Helmet is just a key and it's value is gray. This is the key value pair.
helmet ["shape"] = "donkey" -- another key
helmet ["facemask"] = "black" -- another key
-- where do these key value pairs go in the table?
-- at this point who cares. just some bizarre list called a hash table. not a file hash
-- To print out the helmet shape.
print (helmet ["shape"])
-- you can copy and paste my entire comment into a wow LUA addon file and run it.
-- I really enjoy this series of videos, the best of it's kind.
WOW!!!!! SO MUCH INFO YOU SHOULD MAKE A VIDEO GAME CALLED UNITEA - a university about TEA
Hey! I know where you live!
Mayron's Hideout Bro, are you continuing this? Let's make a full-fledged addon :(
I liked this, series so far, but around 10m is when I stopped understanding anything. This is probably more lua's fault than Mayron's.
Any programming language that doesn't require something to make it clear what is a variable, such as a $ in front ($ThisIsMyVariable) doesn't deserve to be used, and should be moved away from.
And why would you not start an array from 0 like every other language in the world?