Core Posted June 4, 2017 Share Posted June 4, 2017 Ok, I don't know what happened, I was trying to get entity to "float" over floor using AddForce() and suddenly my game started to crash the very first moment it loaded. And even if I load one of the older backup's that certainly worked back then, they crash too. I'm very worried, all my work suddenly stopped working. What can I do to fix this, please help! Quote Link to comment Share on other sites More sharing options...
Josh Posted June 4, 2017 Share Posted June 4, 2017 Upload your project and send it to me? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Core Posted June 4, 2017 Author Share Posted June 4, 2017 Oh, just managed to find out the problem... Sorry, It was my own fault, I have inventory script where I target this entity I was trying to "float" and at some point it had lost the pointer to this entity (or how do you say) I didn't check for "no target" in that script, so it crashed the whole game. That I don't understand why it rendered all my previous map saves unusable too. Took some time to figure it out... But yeah, lot to learn... And thank you very much for your offer for help, much appreciated 1 Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 6, 2017 Share Posted June 6, 2017 Glad you found the problem. You could still send your faulty map with errors though. This can help Josh improve the editor. Quote Link to comment Share on other sites More sharing options...
Core Posted June 9, 2017 Author Share Posted June 9, 2017 Ok, sorry it took so long! Here is simple map with entity (cylinder) following the target (player). If there's no target, map crashes. And actually while quickly testing this map, I managed to crash the map once even if there was a target and Follow() function was working. And peculiar enough, at one point I was KILLED by the cylinder! FollowingThingTest.map Edit. And this is the first time I upload a map, so please advice, what should I include? I just realized that map file only most likely is not enough... Edit2. Added the AI script. Other map assets are from default fps project FollowAIBasic.lua Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.