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
  #1  
Old 01-27-2012, 08:06 PM
wildwillie wildwillie is offline
Approved Member
 
Join Date: Aug 2010
Posts: 111
Default Are Destroyed triggers working ?

I'm testing out triggers and was wondering if the TGroupDestroyed or TGroundDestroyed are working.

The triggers are defined in the .mis file as:

Code:
[Trigger]
  D3_red_dest TGroundDestroyed 85 272438 200346 1250
  Red_Fuel_Depot TGroundDestroyed 75 267827 197993 550
  Blue_Fuel_Depot TGroundDestroyed 75 272015 208932 350
  D3_blu_dest TGroundDestroyed 85 271991 205306 1100
  De_Fuel_Column1 TGroupDestroyed 20_Chief 80
  De_Bofors_Column TGroupDestroyed 22_Chief 80
  GB_AAA_Column2 TGroupDestroyed 25_Chief 80
  GB_AAA_Column1 TGroupDestroyed 26_Chief 80
In my script file I added the following:

Code:
    public override void OnTrigger(int missionNumber, string shortName, bool active)
    {
        base.OnTrigger(missionNumber, shortName, active);
        System.Console.WriteLine("Trigger (" + shortName + ") Mission #(" + missionNumber.ToString() + ") active(" + active.ToString() + ")");
    }
Expecting that when the a trigger was executed it would write a line out in the console. So far it is not doing it, any Ideas ?

WildWillie
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 06:36 PM.


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