Variable error

Started by bossdannyboy123 on Fri, 05/29/2015 - 15:27
Last seen on 18:01, 13. Jan 2016
Joined Oct 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Variable error
Fri, 05/29/2015 - 15:27

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.

Last seen on 09:01, 3. Aug 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
i get the same error for true
Sat, 05/30/2015 - 15:00

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

Last seen on 18:01, 13. Jan 2016
Joined Oct 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
It's not just on true/false
Sat, 05/30/2015 - 20:15

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