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 > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 01-21-2013, 11:31 AM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

Not sure this is exactly what you are trying to achieve

Code:
public override void OnActorDead(int missionNumber, string shortName, AiActor actor, List<DamagerScore> initiatorList)
    {
        

        if (actor is AiAircraft)
        {
            if (shortName.IndexOf("607Sqn", 0) > 0) MySquad++;// indicate playerSqn loss

            if (actor.Army() == 2)
            {
                cEnemy++;
                //GamePlay.gpHUDLogCenter(shortName);
                if (shortName.IndexOf("ErprGr210F", 0) > 0) hunt++;
            }

            else bomb++;
is a snippet from Redux campaign that shows something similar to what you want?- particularly the commented out HUDLog line

The 'plane type' is handled by referencing the Sqn shortName and incrementing 'counters- probably not elegant but is good enough for what was required in that campaign
Reply With Quote
 


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 02:51 PM.


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