Home   Help Search Login Register  

Author Topic: AI Don't run away?  (Read 547 times)

0 Members and 1 Guest are viewing this topic.

Fiendish

  • Guest
AI Don't run away?
« on: 03 Jan 2003, 02:32:45 »
What do I have to do to stop the enemy from escaping every time that I attack?
I kill most of them, but there's always one who ran away.
I am confused. ???

(Please excuse my bad english)

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:AI Don't run away?
« Reply #1 on: 03 Jan 2003, 02:38:10 »
you need to use this in the init field

this allowfleeing 0;

in the units init fields, use this for a group

"_x allowfleeing 0" foreach units this;

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:AI Don't run away?
« Reply #2 on: 03 Jan 2003, 02:43:48 »
type this i the 'init' field of the leader of the group

allowfleeing 0
Proud Member of the Volunteer Commando Battalion

Fiendish

  • Guest
Re:AI Don't run away?
« Reply #3 on: 03 Jan 2003, 03:17:06 »
Thank you so much! :D