View Single Post
  #45  
Old 10-12-2011, 06:03 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Nothing to do with my part,
something in OnPlaceLeave going wrong.

You should test actor for null value:

if (actor != null) //missing
{
if ((actor as AiAircraft).InternalTypeName() == "bob:Aircraft.DH82A")
...
}

Last edited by FG28_Kodiak; 10-12-2011 at 06:08 PM.
Reply With Quote