In this video I'm talking about Lua tables; how to create them, add values, and retrieve those values later. Tables are a super powerful tool you will use frequently as you get further into programming with Lua. I've also created a GitHub file with all the examples you'll need to refer back to. You can find that here - https://github.com/DeeeLight/FromDark...
I'm using GrandMA3 OnPC version 2.1.1.5 and Lua 5.1 in this video.
Here's the link to today's file on GitHub - https://github.com/DeeeLight/FromDark...
Be sure to check out the rest of the series and don't forget to subscribe so you can get notified when I post the next one! Happy lighting!
Playlist - • Lua For GrandMA3 Tutorials
Join my Discord server for Lua for GrandMA3 users here - / discord
Find the transcript of this video here - https://fromdarktolighttutorials.blog...
"The sun shall be no more your light by day, nor for brightness shall the moon give you light; but the LORD will be your everlasting light, and God will be your glory." - Isaiah 60: 19
Chapters
0:00 Intro
1:07 Defining a Table
2:03 Making a Table
2:40 Adding Values to a Table (Method 1)
3:12 Method 2
4:11 Method 3
4:40 Naming vs Simply Inserting Table Values
5:53 Method 4 for Adding Values (table.insert)
7:24 Retrieving Table Data
8:11 Comments
8:44 An Example
10:16 Concatenation
10:35 Explaining the Example
11:35 Don't Concatenate nil
12:13 Outro
Background Music:
Void Edge - Lesion X / lesionxbeats
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://www.audiolibrary.com.co/lesio...
Music promoted by Audio Library • Void Edge – Lesion X (No Copyright Music)