Jump to content
Sign in to follow this  
SysterYster

Groups Tool(F2) sergeant -> private

Recommended Posts

Tried to make a sergeant(AI) follow a private(Player), with the groups tool.

I.e hold left mouse button and drag from sergeant to private and i have a thin light blue line.

He doesn't seem to follow though.

Maybe someone knows how the sergeant can be made to follow the private or in any case make a higher ranking unit to follow a lower ranking unit?

SysterYster - help needed!

Share this post


Link to post
Share on other sites
make a higher ranking unit to follow a lower ranking unit?

Not possible. The soldier with the highest rank is always group leader.

Share this post


Link to post
Share on other sites

group player selectLeader player

That will override the natural ranks.

Share this post


Link to post
Share on other sites

Thanks for the help!

But i don't know if it will do it, because i was thinking of having a sergeant i the group to make quick AI battle decisions for me(pick targets for ai group members, and other things, such as heal commands to the medic etc.

Seems as if i just promote myself to groupleader with that piece of code.

But perhaps there is some other way - if you know one - please reply!

Regards.

SysterYster

Share this post


Link to post
Share on other sites

Let me get this straight, you want to lead but not being bothered with commanding AI?

It's impossible.

Share this post


Link to post
Share on other sites
unit doFollow otherunit

Found this in the comref...was gladly inspired to look at it!.

unit enableAI section

code:

soldierOne enableAI "Move" 

Description:

Enables parts of the AI behaviour. Section is one of "TARGET" (enables watching assigned targets), "AUTOTARGET" (enables independed target assigning and watching of unknown targets) or "MOVE" (enables movement).

Could be a way to accomplish the wanted game behaviour.

BUT in the section part of the code bit there is no way to enable issuing "heal commands", perhaps someone nows what to do?

Regards.

SysterYster

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  

×