Thread: scrips problem.
View Single Post
  #3  
Old 03-15-2012, 02:02 PM
melasuda melasuda is offline
Approved Member
 
Join Date: Feb 2012
Posts: 44
Default

Quote:
Originally Posted by Smokeynz View Post
I would read sticky thread tutorials on scripts and triggers, and maybe this thread about triggers might help guide you.


http://forum.1cpublishing.eu/showthread.php?t=26515
Thx now is solved the problem, i add this

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;
}

And now work
Reply With Quote