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 03-27-2012, 09:53 AM
melasuda melasuda is offline
Approved Member
 
Join Date: Feb 2012
Posts: 44
Default blue won message

Hi, there is my cuestion.

I create a scrip to launch message wen a 1 objetive is destroy.
But how can i launch test message if all target all destroyed?.

There is my scrip

Quote:
public override void OnTrigger(int missionNumber, string shortName, bool active)
{
base.OnTrigger(missionNumber, shortName, active);
AiAction Action = GamePlay.gpGetAction(shortName);

if (Action != null)
Action.Do();

GamePlay.gpGetTrigger(shortName).Enable = false;




if ("calaiscompleto".Equals(shortName) && active)
{
GamePlay.gpHUDLogCenter("objetivo este de calais completado");
GamePlay.gpGetTrigger(shortName).Enable = false;
GamePlay.gpGetTrigger("dunkerkecompleto").Enable = false;
}
if ("dunkerkecompleto".Equals(shortName) && active)
{
GamePlay.gpHUDLogCenter("objetivos este de dunkerke completado");
GamePlay.gpGetTrigger(shortName).Enable = false;
GamePlay.gpGetTrigger("calaiscompleto").Enable = false;
}


}
Thx
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 05:39 AM.


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