Jump to content
Sign in to follow this  
uiox

Ask for new feature/command

Recommended Posts

Spacing

I want to increase the distance between units or vehicles when they are in formation (avoid choppers collisions or infantry under fire), for AI and player's group.

New or next leader

I want change the leader of AI groups (for me in armored group a leader without vehicle can't be the leader)

A "weight" unit

Sometime you can see choppers attack soldier instead enemy chopper...

Thanks

Share this post


Link to post
Share on other sites

Leader not useful Spinor give me the solution, something like this:

_Alone = false

_OldLeader = leader group3

_Nb = count units Group3

_i = 0

_GrpRes = []

#SearchVehicle

_GrpRes = _GrpRes + [Leader Group3]

[Leader Group3] join grpnull

? (vehicle(leader Group3) == leader Group3) and (_i< _nb) : _i = _i +1 ; goto "searchVehicle"

_GrpRes Join (leader Group3)

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  

×