Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

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

CoD Multiplayer Everything about multiplayer in IL-2 CoD

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2014, 11: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:
Quote:
//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.
__________________
www.1smv.it

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


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 01:22 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.