It depends on how your animation is going to start, but but in the case of LoK all variables are properly initialised at the end of the Arwing attack sequence (some are done at the start but just for that scene).
So basically you'll probably want to move across the preloader at the very least, that way you can initialise variables when the user clicks to begin playing the game. Otherwise you'll want to make sure that in the first frame of your animation you add a script snippet that sets the variables you need, for clothing this will be:
- Code: Select All Code
_root.armour = true;
_root.suit = false;
Simply set suit to true and armour to false to switch to the flight-suit, and set both to false to get her naked. You'll also want to make sure that your animation doesn't loop back onto the frame where the variables are set, as it might change values back to the default if you've changed them later on.