View Single Post
  #7  
Old 05-25-2011, 07:14 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Quote:
Originally Posted by Flashman View Post
Ataros, I haven't tried your bits of code, I have no idea what they do or where to put them! Do they need to be tied to a specific object or missions?
No.
"Object != null" is a check if the object exists. If your code does smth to an object but it does not exist you get the exception I believe. Make sure you check "Object != null" before any action in your code.

I may be wrong. Always post your complete code if you want quick help without guessing from someone who really knows C# (not me ).
Reply With Quote