The Loot Posted July 26, 2014 Report Share Posted July 26, 2014 Simple script to create an object by a person, hide it, and run a command on it. Checks for objects of the same name to see if activation is possible.TheLootWaterSupplyActivate.zip Quote Link to comment Share on other sites More sharing options...
Chris07 Posted July 29, 2014 Report Share Posted July 29, 2014 I know this is a couple days old, but in-case you're still stuck... Not sure as the scripts looks okay. What I would do is comment out parts of the script and play a hint confirming that the bottom was reached. If you don't CTD...that part of the code is fine. Gradually expand until you locate the offending section. Alternatively...please "Break points" everywhere. After every few lines, output to the log file a unique number. Then when you crash, look at the log and see what the last line to execute was...that'll help you find the offending portion. My guess is it has to do with the object your creating. CTD usually happen when something goes wrong with a prototype or model. Quote Link to comment Share on other sites More sharing options...
The Loot Posted July 29, 2014 Author Report Share Posted July 29, 2014 It was definitely the object being created. I don't think it was the prototype or model, but the fact that it was being created as a Vehicle. I changed it to a different proto, but also changed it to a Game Object, and now it works. Thanks for the logfile idea. Quote Link to comment Share on other sites More sharing options...