OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Michael on 07 May 2008, 23:39:01

Title: how can i stop IA from going prone every time an aircraft passes
Post by: Michael on 07 May 2008, 23:39:01
how can i stop IA from going prone
every time an aircraft is in the area??

is there a way to get the AI to ignore air threats and not go prone 
Title: Re: how can i stop IA from going prone every time an aircraft passes
Post by: Gielovic on 07 May 2008, 23:44:27
what about the careless state?

unit setbehaviour "careless"

or

unit setUnitPos "UP"...implement it in a loop otherwise

or try to intercept the animation of laying down with an event handler, so that everytime you the animation is triggered you stop it and set the position to up or whatever

...give it a go;)
Title: Re: how can i stop IA from going prone every time an aircraft passes
Post by: h- on 08 May 2008, 09:31:26
1. Not an advanced topic
2. Only post one topic per question.

The 'right' thread here (http://www.ofpec.com/forum/index.php?topic=31422.0).