Home   Help Search Login Register  

Author Topic: Re-Enabling Ai  (Read 446 times)

0 Members and 2 Guests are viewing this topic.

cpt.Hawkeyez

  • Guest
Re-Enabling Ai
« on: 25 Dec 2003, 21:12:36 »
I used  guy disableAI "Move" for the cutscene to make him not go to his next wp because I geuss LOCKWP doesnt work but anyways I used that command but how do I re-enable Ai for him to start moving again?
/CymPatheeY

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Re-Enabling Ai
« Reply #1 on: 25 Dec 2003, 21:17:57 »
I.m not 100% sure about this, but I don't think you can enable AI once it has been disabled.

Maybe someone else can show otherwise.



Planck
« Last Edit: 25 Dec 2003, 21:19:28 by Planck »
I know a little about a lot, and a lot about a little.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Re-Enabling Ai
« Reply #2 on: 26 Dec 2003, 00:45:11 »
Planck's got it right... there is no way to re-enable AI after a disable AI command.

I would suggest stopping your unit some other way... try any/all of the following:

dostop unit
then: unit dofollow (leader unit)
to get him moving again.

unit stop true
then: unit stop false

Actually it may depend exactly on your situation as to what will work best. Your guy is just going to a waypoint? Maybe making a waypoint where you want him to stop, with a variable in the condition field?

Anyway, let us know how you go ;)