Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.
How do I…
A clear and concise description of what you are trying to do.
What is the expected result
Explain what should happen when you run the game.
What is the actual result
Explain what is happening instead, what is going wrong.
Related screenshots
Please include a screenshot of the full related events including both conditions and actions.
And screenshots to help showing us the issue.
Project files (optional)
Insert a minimal game showing your issue in a .zip or .rar.
So, I’m having trouble grasping the variable concept when it comes to weapons. For example I want to create a system where I can have a slot for 8 different type of swords… and 8 different type of axes and 8 different type of spears… I want to be able to swap them out too…
Take for instance I have my swords mapped to the keyboard 1,2,3,4 ect… I want to be able to lets say press q on the keyboard and it toggles the axes slot which also would be mapped to 1,2,3,4 ect and the spears would have the same function. I tried using the “child” variables with structures but cannot figure it out… how would I accomplish this?