Don't know if this still relevant, one MG official patch broken FMB trigger action (at time they fix 1 thing, broken 1 or 2 ), so if your new flight don't appear:
http://forum.1cpublishing.eu/showthr...spawn+dorniers
Code:
public override void OnTrigger(int missionNumber, string shortName, bool active)
{
base.OnTrigger(missionNumber, shortName, active);
if ("YourTriggerName".Equals(shortName) && active)
{
AiAction action = GamePlay.gpGetAction("YourActionName"); //same as YourTriggerName
GamePlay.gpLogServer(null, " Your Trigger was triggered ", new object[] { }); //Testmessage
if (action != null)
{
action.Do();
}
GamePlay.gpGetTrigger(shortName).Enable = false;
}
}
Bookmarks