Along with finding out that I can't multi-thread, it became that when i use the crawler prefab, the game will crash when it loads. I don't get any errors in the editor or in my C code so i have know idea what is going on. I just may have to create a new project. I still want to use the pivots to mark spawn locations. I'm having some issues creating the logic to be used to set the unique spawn options. Because the script will be used for each spawn, i can't use the global stack to push an options table because they will over right one another. I'm thinking about creating a C++ function that lua calls that will send a table as a parameter and then the C++ will use this along with some constraints to determine what it should be, if anything. From there the object will be loaded and placed in the world.
- Read more...
- 16 comments
- 4,298 views