Message 1 of 5
loading a global variable first
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a bunch of objects with FloatScript controllers. One of the scripts contains a global variable that the others reference. When I open the file, it looks like two of the objects are loaded before the one containing the variable, so I get two errors.
1. How do I ensure the global variable is loaded first?
2. I'd like access to the global variable in the UI so I can change it regularly. What's the best way to do this and still have it load first?