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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2012, 08:07 PM
41Sqn_Banks 41Sqn_Banks is offline
Approved Member
 
Join Date: Oct 2007
Posts: 644
Default

Code:
public override void OnBattleStarted()
{
    base.OnBattleStarted();

    MissionNumberListener = -1;
}
If you set MissionNumberListener = -1; in the the main mission script the OnTrigger function of the main script is also called for trigger that are from a sub mission.

Maybe points you in the right direction
Reply With Quote
  #2  
Old 02-19-2012, 10:06 PM
Smokeynz Smokeynz is offline
Approved Member
 
Join Date: Apr 2011
Posts: 106
Default

yes

about to post something that allows that, although targeted at player passthrough using the AirArmy passthrough trigger in mission
some testing to be done.

The way I am (trying) allows for different actions to ai and player as opposed to just player or just ai.
Reply With Quote
Reply

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 12:18 PM.


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