Page MenuHomeFeedback Tracker

AI regroups on 2 after teamswitch
Closed, ResolvedPublic

Description

The AI are commanded to regroup by 2 when 1 orders them to move.

At this point 1 can only stop them. If 1 tries to order movement then AI is commanded to regroup by 2.

The AI will keep moving to regroup on 2 unless ordered to stop by 1.

If the mission requires any soldier or non combatant to enter a vehicle then the mission cannot be completed.

Details

Legacy ID
2235218788
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
AI Control / Commanding
Steps To Reproduce

Start co-op mission with teamswitch, at least two humans and some AI.

Start as leader.

Manually teamswitch and die then teamswitch at least once and become someone other fan the leader.

Regain leader using teamswitch.

At some point number 2 will shout "form on me" and 1 will no longer have full control.

Additional Information

Has happened in both user created and BI missions for me.

Completely breaks AI command.

Event Timeline

Jassida edited Steps To Reproduce. (Show Details)Apr 15 2015, 1:50 PM
Jassida edited Additional Information. (Show Details)
Jassida set Category to AI Control / Commanding.
Jassida set Reproducibility to Always.
Jassida set Severity to None.
Jassida set Resolution to No Bug.
Jassida set Legacy ID to 2235218788.May 8 2016, 11:56 AM
Adam added a comment.Apr 15 2015, 1:57 PM

Hello,

Commanding is always transferred to next in line (1>2>3>4 and so forth) and it does not matter if its AI or Player. This is working as intended.

Thanks for the reply but if you regain leadership and are unable to fully control the AI then this cannot be working as intended.

1 can only order a stop command (and maybe a stance change). 2 commands a regroup (even when human controlled). Neither can make them move anywhere.

A total loss of full control occurs. No amount of team switching and leadership regaining will give full control of the ai back in my experience.

Just to sum up...no player or unit is ever able to control the ai fully once this situation occurs.

Please revisit, it breaks the way I play the game.

Thank you.

oukej added a subscriber: oukej.May 8 2016, 11:56 AM
oukej added a comment.Apr 15 2015, 5:01 PM

I am sorry, but teamswitch in MP is not supported.

Regardless of MP:
Yes, the game logic is a little bit hard to understand due to player/playable units at start and after switch.

Place a group on map: 1 is player, all other playable.
As intended all units follows 1 without order.
switch & lead (with selectLeader)

  • If you switched for an even unit, all even units "next in line" will follow you, odd ones will wait for an order;
  • if you switch for an odd unit, odd "next in line" follow you.

For example, switching from 1 to 4 and taking lead, 6 & 8 will follow you,
switching from 1 to 3, 5 & 7 will follow you.

Try further! Start with 3 is player, all other playable
Take lead. All units will follow you without order. OK.
switch for an even guy, say 2 and take lead. All units will follow you but not "the former player + his even/odd next in line"!
If you were 3 (leader) and now you're 2 (leader), 3, 5 & 7 will not follow you.

A fact is the player's name stay with the player's unit. All switchable units keep their automated engine names.
Even (odd) units follow themselves automatically (without order). But if player switches team, he looses automatic leadership on his previous unit with his previous "even/odd next in line)".

If I guess true, everything goes as if player's unit (at start) keeps name and automated leadership on even/odd subordinates. Of course, as leader, you can order to the group.

oukej added a comment.Apr 16 2015, 3:39 PM

A fact is the player's name stay with the player's unit. All switchable units keep their automated engine names.

This is intended, because you'd want the identities to stay with the actual units (so you play "as someone"), not transfer when player's control is switched.

As for the regrouping after switching leader - when using the scripting command you can use it together with https://community.bistudio.com/wiki/commandFollow so everyone immediately follows the new leader.