Jump to content
Sign in to follow this  
JuneBus

AI Ignoring Teammate shooting at me

Recommended Posts

Why is only one of the AI shooting at me. The AI in the tower should shoot at me too. Instead he just stands around doing nothing.

 

5dM4xpU.jpg

Share this post


Link to post
Share on other sites

He's probably so disappointed by your use of pixelated red letters on a green background that he just can't deal with you right now.  If you must caption an image always use white text with a black outline.

 

That said it's night, he's facing away from you and you're in concealment.  What kind of weapon were you using, did it have a suppressor?  There's a lot of reasons he wouldn't react right away.

  • Like 3

Share this post


Link to post
Share on other sites

I think the problem is that they are not in the same group, so they do not communicate at all. But when I group them together they try to form up in a formation. Can I just group them and force them to not care about the formation?

Share this post


Link to post
Share on other sites

Has player actually killed you? AI starts to attack team-killers when their rating drops after shooting friendlies or civilians

Share this post


Link to post
Share on other sites

The AI in the tower seems to have a blue icon over him implying he is blueforce?

Share this post


Link to post
Share on other sites

Are all those units BLUFOR or is the "player" doing the shooting OPFOR?  I did some tests and even ungrouped the guy in a tower reacted to gunfire.  They never saw me or shot at me since i was behind a bush, but they both reacted.

 

If everyone in that picture are on the same side, then what longbow is saying is true.  It'll take two actual kills for them to care that you're shooting someone friendly.

 

ty9UFwx.jpg

Share this post


Link to post
Share on other sites

In this scenario BLufor if bad and OPFOR is good (player is OPFOR)

Share this post


Link to post
Share on other sites

Group the two Blufor units. Now to stop them going into formation. Put in the init of the guy in the tower: doStop this; (tower guy not being the group leader). Otherwise put that in both of the blufor init fields, should work. (Can't test this cause I'm on my phone). If you want the guy in the tower always standing while engaging you put in his init field again: this setunitpos "up"; that should all work

  • Like 1

Share this post


Link to post
Share on other sites

Group the two Blufor units. Now to stop them going into formation. Put in the init of the guy in the tower: doStop this; (tower guy not being the group leader). Otherwise put that in both of the blufor init fields, should work. (Can't test this cause I'm on my phone). If you want the guy in the tower always standing while engaging you put in his init field again: this setunitpos "up"; that should all work

Grouping them and `doStop this;` works well. Thanks

Share this post


Link to post
Share on other sites

One last problem. Even though they do not regroup they still change their direction from what it is set to in eden.

Share this post


Link to post
Share on other sites

The setdirection won't work. I tried and he just looks back.
You could also put in a script that the Blufor in the tower is:this enablesimulation false; until they detect opfor.
In the trigger:
size: X=50, Y=50, Z=0 (100m2)
Activation:Opfor
ActivationType:Detected by Blufor
Condition:this
onactivation: man1 enablesimulation true;
man1 being the soldier in the tower.
I tested this and it works.
Happy grouping  :D

Share this post


Link to post
Share on other sites

The setdirection won't work.

 

Use setFormDir.

  • Like 1

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  

×