Destroys crashlanded aircraft in 5 seconds ))
Code:
public override void OnAircraftCrashLanded(int missionNumber, string shortName, AiAircraft aircraft)
{
base.OnAircraftCrashLanded(missionNumber, shortName, aircraft);
Timeout(5, () =>
{
aircraft.Destroy();
});
}
Have to figure out how to use it though.
Quote:
Originally Posted by mcler002
Dude, what do those numbers do?
|
Just notes for myself on timing. Not processed by program.
if (Time.tickCounter() %
72000 == 72000) is wrong probably.