Home   Help Search Login Register  

Author Topic: Making units stay in a croutching position  (Read 448 times)

0 Members and 2 Guests are viewing this topic.

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Making units stay in a croutching position
« on: 01 Aug 2004, 05:46:23 »
Hey all-

Alright, this should be an easy one.

How would I make an AI unit croutch and stay that way no matter what comes at them.   ???

Thanks-

Blip  ;D
...NIGHT WALKER....

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Making units stay in a croutching position
« Reply #1 on: 01 Aug 2004, 07:51:53 »
In a script:

unitname setBehaviour "combat"
unitname setUnitPos "up"
unitname switchMove "crouch"

Not 100% sure that it will keep them crouching all the time...
If not, you may need to loop that switchMove "crouch" part...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:Making units stay in a croutching position
« Reply #2 on: 01 Aug 2004, 07:56:56 »
Thank You!  ;D ;D ;D

Just what I needed.

Later-

Blip
...NIGHT WALKER....