Jump to content
Sign in to follow this  
kleaner2

Script to get ai to kneel and shoot?

Recommended Posts

Is there a way to consistently get the AI to shot from the kneeling position like the player can?

It looks funny for the AI to shoot only from PRONE or STANDING position.

Ideas?

Share this post


Link to post
Share on other sites

If someone figures this out, I will wear a helmet for

the rest of the day.

wink.gif

Share this post


Link to post
Share on other sites

<unitname> setBehaviour "COMBAT"

<unitname> setUnitPos "UP"

<unitname> switchMove "CombatToCrouch"

Share this post


Link to post
Share on other sites

But the ai player won't be able to shoot, because

he is playing this movement, right?

Share this post


Link to post
Share on other sites

Yes he will if you do it this way:

<unitname> setbehaviour "COMBAT"

<unitname> switchmove "Crouch" (puts the unit in crouch instantly)

<unitname> setunitpos "up"

<unitname> setcombatmode "BLUE"

Now if you want him to open fire, simply set CombatMode to "RED".

But they do tend to stand up sometimes when engaging a target.

Share this post


Link to post
Share on other sites

maybe the machine gunners will stop engaging (and hitting me somehow) standing up and walking sometimes biggrin.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×