Can't choose variables in 'Animation' window (Content Tool)

  • I'm working on a tram, and writing my own scripts. My problem is that I can't choose my variables in the 'Animation' pop up window, when I edit an animation.


    I have the variables in the public var section in the main pas file:


    I have these variables in the 'Variable test' and 'Test Script' windows:


    If I trigger them with inputs (reverser plus minus for example), their values change as well.


    But I cannot chose any of them when I try to make an animation:


    I have the meshes binded to the animation, I've setted the pivot correctly etc, but I can't chose any of my variables. What's even more interesting, I don't even have all the variables in the script, which the 'Animation' window shows (like street light and so on).


    I tried to write the variables in other order, checked if I wrote one multiple times, and still it doesn't work. I've run out of ideas about it.



    EDIT:

    I figured out you can write any variable name, although you cannot select it. My controllers then didn't work, but after changing all the integers to singles (I didn't know they can't be negative), everything works fine.

    Since the problem solved itself, this thread may be deleted. Sorry for unnecessary thread.

  • Janine

    Hat das Thema geschlossen
  • Janine

    Hat das Label Funktioniert wie gewollt hinzugefügt