Home   Help Search Login Register  

Author Topic: STOP running away!  (Read 451 times)

0 Members and 1 Guest are viewing this topic.

Gooner861

  • Guest
STOP running away!
« on: 11 Jul 2003, 13:37:10 »
How can u make the enemy stop running away when they r attacked and make them stay and fight, it is really annoying!

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:STOP running away!
« Reply #1 on: 11 Jul 2003, 14:04:19 »
groupname allowfleeing 0


unit allowFleeing courage
Operand types:
    unit: Object or Group
    courage: Number
Type of returned value:
    Nothing
Description:
    Set group courage. The less courage, the sooner will group start fleeing. 0 means maximum courage, 1 means always fleeing.

Example:
    soldierOne allowFleeing 0


After that they'll fight like true Finnish soldiers   :D
Not all is lost.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:STOP running away!
« Reply #2 on: 11 Jul 2003, 14:05:04 »
unitname allowfleeing 0

4 1 unit

"_X allowfleeing 0" foreach units group unitname

4 da whole group ;)

LCD OUT

[edit] im musta getin old  :o  :-X but i gave dat whole group thingy ;)
« Last Edit: 11 Jul 2003, 14:05:51 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Gooner861

  • Guest
Re:STOP running away!
« Reply #3 on: 11 Jul 2003, 16:28:29 »
Cheers.   :)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:STOP running away!
« Reply #4 on: 11 Jul 2003, 19:47:44 »
allowdrinking is almost beaten by simply sliding the "skill" bar all the way to the right when creating a unit. Only bug is that top-10 troopers tend to be master shooters as well (I almost said superman x-ray shooters)  ::) ;D

My enemies never flees if their courage bar is a bit right of the center of that line... bar ....

 :hmm: *bar*  ??? :D


Hold on, m8 - gotta get offline a few hours!  8) ;D ;D