Home   Help Search Login Register  

Author Topic: stupid AI keeps standing up...  (Read 447 times)

0 Members and 1 Guest are viewing this topic.

CopyrightPhilly

  • Guest
stupid AI keeps standing up...
« on: 17 Apr 2004, 19:08:49 »
Yo

ok i'm using this code for the AI to make him crouched:

this switchMove "Crouch"

but guess what... HE STANDS BACK UP!!!

so if u know how to stop it then plz let me know...

cheers, philly

Unnamed

  • Guest
Re:stupid AI keeps standing up...
« Reply #1 on: 18 Apr 2004, 02:19:29 »
Someone suggested putting this in the Init field, it works most of the time. But there kind of fixed to the spot:

Code: [Select]
DoStop This ; This DisableAI "Move"; This SetBehaviour "Combat"; This SwitchMove "CombatToCrouch"; This SetUnitPos "Up"

gundernak

  • Guest
Re:stupid AI keeps standing up...
« Reply #2 on: 18 Apr 2004, 02:24:50 »
after using disableAI "move" you can not revert it, your unit will not move anymore...

Homefry31464

  • Guest
Re:stupid AI keeps standing up...
« Reply #3 on: 18 Apr 2004, 04:36:11 »
Just place this in the units init field:

Code: [Select]
unitname setunitpos "down"
And I think it should work.. Good luck.