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
  #6  
Old 11-07-2012, 01:53 PM
_79_dev _79_dev is offline
Approved Member
 
Join Date: Sep 2010
Location: Dublin
Posts: 242
Default

Hi Kodiak, in this part of script:

PHP Code:
 if (shortName.Equals("TPassThruTriggerName"))
        {
            
AiAction action GamePlay.gpGetAction(ActorName.Full(missionNumbershortName));

            if (
action != null)
            {
                
action.Do();
            }

            
//Add this for deaktivate the tpassthru trigger
            
GamePlay.gpGetTrigger(shortName).Enable false;


        } 
does this:

PHP Code:
if (action != null)
            {
                
action.Do();
            } 

have to be inside "if (shortName.Equals("TPassThruTriggerName"))" ?

does it mean that action will be done only for TPassThruTrigger?

Also deactivating trigger means to disable theme for good or after they invoked?

PHP Code:
 //Add this for deaktivate the tpassthru trigger
            
GamePlay.gpGetTrigger(shortName).Enable false
__________________

Asus P6T V2 Deluxe, I7 930, 3x2 GB RAM XMS3 Corsair1333 Mhz, Nvidia Leadtek GTX 470, Acer 1260p screen projector, Track IR 4 OS ver5, Saitek Pro Flight Rudder, Saitek X52, Win 7 x64 ultimate
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 09:26 AM.


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