Topic category: Help with MCreator modding
Hey! So I'm making a Harry Potter mod with 30 spells and apparition, and I'm using the variables for them. The gist of it is that on a Basic GUI there is the Spell selection, and when you click on a spell, it sets the variable "Spell" (which is a number variable) to a certain number depending on the spell you select. On the wand, right-clicking in the air has 31 events on it. (1 being the sound), and each event only happens if the Spell variable is a certain number. They each do the spell so long as that spell is selected. It's pretty much the same with apparition, but a little different. You get an Apparition Book that opens a GUI with a button on it. The button sets the Apparate variable (true/false type) to true. The Apparition itself is a key bind that tests to see if "Apparate" is true. Then you teleport. This is the error code that comes up when I try and test the environment or export:
Please help! This mod has potential.