brad7 4 Posted May 12, 2013 Cant figure out how to do this i need an enemy Ai to fire at bluefor from a distance but not move at all if it is possible? Share this post Link to post Share on other sites
froggyluv 2133 Posted May 12, 2013 disableAI "MOVE"; http://community.bistudio.com/wiki/disableAI Share this post Link to post Share on other sites
brad7 4 Posted May 12, 2013 I know about this but will they still fire? Share this post Link to post Share on other sites
Beerkan 71 Posted May 12, 2013 Set the unit's init to this this setUnitPos "DOWN";this setBehaviour "AWARE";this setCombatMode "RED";this disableAI "MOVE"; You can change the setUnitPos to "DOWN" = prone, "MIDDLE" = kneeling or "UP" = standing up. Share this post Link to post Share on other sites
brad7 4 Posted May 12, 2013 Cheers for that works great! Share this post Link to post Share on other sites
Beerkan 71 Posted May 12, 2013 (edited) Cheers for that works great!For info when you set any unit to 'this disableAI "MOVE";' you can come up behind the unit and it will not turn and face you. Even if you shoot them. Not very realistic.What I normally do is set a trigger around any diableAI units, where if BluFor is detected within a certain radius then set the units to enableAI "MOVE"; For example. Add an OpFor marksman and call him Sniper1, face them in the direction you want and set their init to this. this setUnitPos "DOWN";this setBehaviour "AWARE";this setCombatMode "RED";this disableAI "MOVE"; Now create a trigger around them with the following:= Axis A = 30 Axis B = 30 Activation BluFor Once On Act: Sniper1 enableAI "MOVE"; This means you can't just walk up on them. They will defend themselves when you get within 30m. Even if you come up behind them. Edited May 12, 2013 by Beerkan Share this post Link to post Share on other sites