Home   Help Search Login Register  

Author Topic: Domove and allowfleeing?  (Read 610 times)

0 Members and 1 Guest are viewing this topic.

SharkDog

  • Guest
Domove and allowfleeing?
« on: 01 Apr 2003, 17:30:38 »
Hello, My fellow OFPers

Hi, i have 2 questions and I hope you can awnser them.

1: When i use the domove command it gives errors, and how can i lets a unit walk to a dead body with the domove command?

2: Whats the command for making the AI not to flee, and do i only have to put it in the squad leaders init field, and does it still work when he dies.

Thanks in advance.

Uberminch

  • Guest
Re:Domove and allowfleeing?
« Reply #1 on: 01 Apr 2003, 17:58:37 »
If you put the allowfleeing command in the officer's init field, of course he will lead his men away. But if he dies and yous till want them to flee, put it in all of their init's.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Domove and allowfleeing?
« Reply #2 on: 01 Apr 2003, 18:03:55 »
1.    doMove applies to units.   Use move if  you want to move a group.      What errors do you get?

loon1 doMove getPos loon2

syntax not guaranteed.


2.   If you want the whole group never to flee write this in the leaders init field

"_x allowfleeing 0" forEach units group this

syntax not guaranteed.
Plenty of reviewed ArmA missions for you to play

Uberminch

  • Guest
Re:Domove and allowfleeing?
« Reply #3 on: 01 Apr 2003, 18:06:17 »
I believe the command for fleeing is

this allowfleeing 0

0 is maximum courage, 1 is always fleeing.

SharkDog

  • Guest
Re:Domove and allowfleeing?
« Reply #4 on: 01 Apr 2003, 18:09:35 »
All your help was appreciated, and worked.

Thanks all