Thread
:
Error with Mission.OnAircraftDamaged
View Single Post
#
2
08-01-2012, 04:29 AM
FG28_Kodiak
Approved Member
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Test initiator_aircraft for null value
Code:
if (initiator_aircraft == null) return;
The initiator actor can also be a Groundactor so in this case initiator_aircraft is null.
Last edited by FG28_Kodiak; 08-01-2012 at
04:32 AM
.
FG28_Kodiak
View Public Profile
Send a private message to FG28_Kodiak
Find all posts by FG28_Kodiak