Sorry, no work bery fine.
The works only the first time.
But the trigger TPassThrogh it only works once,but I need is that every time you activate work.
¿how can i solve it?
NOw work. only need change false for true.
Quote:
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 = true;
}
|
Thx all