Quote:
Originally Posted by FG28_Kodiak
You should add these lines to the script (insert it before the last bracket):
Code:
public override void OnTrigger(int missionNumber, string shortName, bool active)
{
base.OnTrigger(missionNumber, shortName, active);
AiAction action = GamePlay.gpGetAction(ActorName.Full(missionNumber, shortName));
if (action != null)
{
action.Do();
}
}
So the triggers and actions works like expected 
|
Awesome. This might explain the weird behaviour we were seeing with AI. I'll toss this in and see if it fixes it.
Cheers!