Multiple questions here:
Question 1
Say I have a table structured like this:
local missions = {
["SAMPLE MISSION"] = {
MissionName = "Sample Mission",
MissionObjective = "Placeholder",
MissionType = "MAIN QUEST"
},
["SAMPLE MISSION 2"] = {
MissionName = "Sample Mission 2",
MissionObjective = "Another placeholder",
MissionType = "SIDE QUEST"
},
}
How can I make it so that a for loop only loops through the sample missions, and not their counterparts?
Question 2
How could I save a complex table like the one in Question 1 inside a Datastore?
(NOTE: I COULD NOT FIND THE SOLUTION TO MY PROBLEM IN THE DEVFORUM.)