xpupx
Is the in game script editor still working? I cant get a single enemy aircraft to spawn with player pass through or army air triggers?
The only thing that will trigger are ships!!
Any ideas??
If I remember correctly FMB "pass though" is bugged since MG "drama" days, is need add a bit of code in the "script" box in FMB to make then work. I think is this:
Code:
using System;
using maddox.game;
using maddox.game.world;
using System.Collections;
using System.Collections.Generic;
using maddox.GP;
public class Mission : AMission
{
public override void OnTrigger(int missionNumber, string shortName, bool active)
{
base.OnTrigger(missionNumber, shortName, active);
if ("Trigger_name".Equals(shortName) && active)
{
AiAction action = GamePlay.gpGetAction("Trigger_name"); //same as YourTriggerName
GamePlay.gpLogServer(null, "Test", new object[] { }); //Testmessage
if (action != null)
{
action.Do();
}
GamePlay.gpGetTrigger(shortName).Enable = false;
}
}
}
Bookmarks