Jump to content
The Loot

Script Causing CTD On Activation

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...