Variable error

3 posts / 0 new
Last post
bossdannyboy123's picture
Offline
Last seen: 1 year 2 months ago
Joined: 10/31/2014 - 08:55
Gems: 0
Variable error

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:

http://pastebin.com/KwPA54RC

Please help! This mod has potential.



bearcraft's picture
Offline
Last seen: 1 year 7 months ago
Joined: 04/28/2015 - 16:41
Gems: 0
i get the same error for true

i get the same error for true/false variable things maby a bug???

bossdannyboy123's picture
Offline
Last seen: 1 year 2 months ago
Joined: 10/31/2014 - 08:55
Gems: 0
It's not just on true/false

It's not just on true/false variables... as far as I can tell, it's on all of the variables.