1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > IL-2 Sturmovik: Cliffs of Dover > CoD Multiplayer

CoD Multiplayer Everything about multiplayer in IL-2 CoD

Thread Tools Display Modes
Old 04-23-2014, 10:59 AM
_1SMV_Poppy_64 _1SMV_Poppy_64 is offline
Approved Member
Join Date: Apr 2011
Posts: 21
Default help for log files

Hi all,
we are trying to write a script to have an eventlog with all the events (kia, static destroyed, chief destroyed and so on), and for some event we are in the right way.

Now we have a problem when testing the script to intercept "TAKE OFF" or "LANDING" event for the player.

Here the part of the script:
//DECOLLO, con coordinate.
public override void OnAircraftTookOff(int missionNumber, string shortName, AiAircraft aircraft)
base.OnAircraftTookOff(missionNumber, shortName, aircraft);
sl.scriviLog("[" + System.DateTime.Now.Hour + ":" + System.DateTime.Now.Minute + ":" + System.DateTime.Now.Second + "] " + "AIRCRAFT " + shortName + " TAKE OFF. " + " pos ");
GamePlay.gpHUDLogCenter("Debug: OnAircraftTookOF =>" shortName + " TAKE OFF.");
Problem is: if the aircraft used from a player is a plane selected from the AI planes (placed in mission builder) the script intercept correctly the event, BUT if the aircraft is created from a player in a BirthPlace, the script doesn't intercepted the event.

Some problem for some other events.

Please, anyone has a suggestion?
Thank you.

Last edited by _1SMV_Poppy_64; 04-23-2014 at 11:03 AM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:04 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.