Jump to content
Sign in to follow this  
snkman

Strange bug or strange behaviour?

Recommended Posts

Hey Guy's,

i use a script which always do monitor all groups on the map.

This script is to exclude, that a unit/group of my side ( Which is friendly to my side ) gets added to the enemy group array.

Now sometimes/very often, after killing a leader of a enemy group the group gets friendly to me??

The only workaround for this was to check if the leader is alive and if not then let the script do it's job, but as long as the group leader is alive you can not check with "countFriendly", becouse the enemy group always switch to friendly, after killing the group leader.

Do i have to understand that? whistle.gif

Share this post


Link to post
Share on other sites

There is a delay before the game (or before the other units in that group) recognize the old leader is dead and "elect" new leader.

During this delay you are getting side of the dead leader, and dead units are on Civilian side, and Civilians are friendly to everybody.

Share this post


Link to post
Share on other sites

Strange behaviour. smile_o.gif

Anyway good to know and thank's for the replay 5133p39.

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  

×