OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Optik on 14 Jul 2006, 15:30:29

Title: AI can't enter area
Post by: Optik on 14 Jul 2006, 15:30:29
I have a problem with one of my missions on Kolgujev. There is one small area which looks like a small base. It has 2 gates that are opened. The problem is, when i play the mission, AIs dont follow me, they go around it and do nothing but get killed or say "negative". Its like the gates are closed for them.
I have attached this part of the mission here. Any ideas what it could be?
Title: Re: AI can't enter area
Post by: bedges on 14 Jul 2006, 18:19:18
ai in flashpoint are good in open spaces, but act like brainless lemmings in enclosed spaces.

just think of it as a "feature" of flashpoint and try to work a way round it. part of the challenge of mission-making ;)
Title: Re: AI can't enter area
Post by: Optik on 14 Jul 2006, 18:59:14
so there is no way to do this...damn...
Title: Re: AI can't enter area
Post by: Baddo on 14 Jul 2006, 23:05:25
Maybe the AI's could magically get positioned into a better spot where they could continue following you. Like use setPos to place them on the other side of the gates and see if they can continue from there. Will look cool in a mission, it's like in Star Trek you know ;)
Title: Re: AI can't enter area
Post by: penguinman on 14 Jul 2006, 23:33:31
haha im sure he dosent want star trek teleporting in his cold war mission, when that happens to me, I just get the men in front of the gate and then put this playmove"combatrunf" and they will run thru, then just play it from there.
Title: Re: AI can't enter area
Post by: Optik on 15 Jul 2006, 02:07:13
well...where do you put that?
Title: Re: AI can't enter area
Post by: penguinman on 15 Jul 2006, 07:00:59
in a trigger activ

put m1* playmove"combatrunf"

then when the trigger is acttvated, they will do it.

*where m1 is put the name of the guy