YannickLeclerc
03-03-2011, 05:45 PM
Hi all, quick question, I am assigning a variable to an object, so when I press a button it creates the object, I also have other buttons to hide this object and freeze it, the problem is when i exit the scene and load it again, the variable is not assigned to that object anymore so the freeze and hide button are not working anymore.
ex:
--create button
c= box ()
--hide button
c.ishidden = true
something like that its not exactly it but you get the idea... So my question is how do I tell max to store that variable in the scene...is there such a thing?
Thank you all
ex:
--create button
c= box ()
--hide button
c.ishidden = true
something like that its not exactly it but you get the idea... So my question is how do I tell max to store that variable in the scene...is there such a thing?
Thank you all