View Single Post
  #11  
Old 07-26-2012, 04:48 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

@hc_wolf
BTW this should work for user placed stationary, not for stationaries that are already available on the map (Radars by Dover for example).

This has worked for me without problem:
Code:
    public override void OnStationaryKilled(GroundStationary _stationary, AiDamageInitiator initiator, int eventArgInt)
    {
        base.OnStationaryKilled(_stationary, initiator, eventArgInt);

        Timeout(10, () =>
                        {
                            _stationary.Destroy();
                        }
            );
    }
Reply With Quote