exec global/disable_ai.scr

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

exec global/disable_ai.scr

Post by Tropheus »

Hie everybody.

sorry for my stupid question, but i have saw in solomap on mahaa this line associated to like this :

$my_bot exec global/disable_ai.scr

what the effect on my bot and what the interest of this line. (sorry for my poor english)

how can i use this line, to do what, with wich objective.

thanks for your answers.

tropheus
User avatar
Butch
Lieutenant Colonel
Posts: 398
Joined: Fri Jan 24, 2003 11:30 am

Post by Butch »

That should make the ai into a 'vegetable', taking away his sense of enemies, etc.
PFC.Butch
B Company, 2nd Ranger Battalion
US Army
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

Post by Tropheus »

so after that, i can make what i want of it ?

thank
tropheus
User avatar
Butch
Lieutenant Colonel
Posts: 398
Joined: Fri Jan 24, 2003 11:30 am

Post by Butch »

yes pretty much.
it's useful in cinematic sequences etc.
PFC.Butch
B Company, 2nd Ranger Battalion
US Army
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

Post by Tropheus »

thanks
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

If you try to make an ai runto somewhere and he sees an enemy he will stop running and start shooting so if you want him to get where you told him to run then exec global/disable_ai.scr and use runto and waitmove then exec global/enable_ai.scr to reset him to normal .
Post Reply