View Single Post
  #46  
Old 03-14-2012, 10:13 PM
melasuda melasuda is offline
Approved Member
 
Join Date: Feb 2012
Posts: 44
Default

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

Last edited by melasuda; 03-15-2012 at 02:05 PM.
Reply With Quote