I'm sort of new to Construct 2 and right now I'm making a Quiz Game. So, in the game you get to choose the subject for the quiz game. I have decided to store my questions in a .txt file, but every subject will get its set of questions in its own .txt file. I made a function with a parameter, and the parameter decides which .txt file it will load depending on the subject the player requested. However, I have no idea how to access or manipulate the parameter in the event sheet.
What is the most efficient way to load .txt files depending on a parameter set by the user? Thank you very much and I am sorry if my english is not that good.