![]() |
|
#8
|
|||
|
|||
|
Corrected:
By spawning Airgroups you should activate "only Script spawn" in their options. You use passthroughs-Triggers, there is a problem the are activated two times on enter and on leave. To avoid the second activation, you should deaktivate the trigger via script. Sometimes if a Group is not spawning, it helps to select it again in the action-options. So i've added a little script: Code:
using System;
using System.Collections;
using System.Collections.Generic;
using maddox.game;
using maddox.game.world;
public class Mission : AMission
{
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;
}
}
Last edited by FG28_Kodiak; 12-04-2011 at 11:18 AM. |
|
|