Home   Help Search Login Register  

Author Topic: Disable AI Go-Prone  (Read 765 times)

0 Members and 1 Guest are viewing this topic.

modderman

  • Guest
Disable AI Go-Prone
« on: 15 Apr 2005, 18:54:53 »
I have tried to make a unit only stand-up through the
setunitpos "up" command, but as soon as they get fired on they go prone.....
I was wondering if there was a way to limit everyone's ability to go prone so they only stand and combat crouch....
And even maybe for the player, if you can
disable user input, but only for a certain function?
Thanks....

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Disable AI Go-Prone
« Reply #1 on: 15 Apr 2005, 19:14:03 »
as far as i know, setunitpos "up" should be exactly what you're looking for. i could be wrong. i've just tested it for myself (ofp 1.96) and the guys all stay standing until i shoot them in the feet, at which point they can't stay up.

not much help i'm afraid...  :-\

Offline 456820

  • Contributing Member
  • **
Re:Disable AI Go-Prone
« Reply #2 on: 15 Apr 2005, 19:43:15 »
yep that should be right but if you do it out of an init field like you want to change them back to normal you must use the ai's name in it
eg
player1 setunitpos "up"
and if you want them to be abl to go prne use
player1 setunitpos "auto"
that should work