Post your scripting questions / solutions here
Moderator: Moderators
Tropheus
Corporal
Posts: 49 Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:
Post
by Tropheus » Sat Oct 25, 2003 8:50 pm
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
Butch
Lieutenant Colonel
Posts: 398 Joined: Fri Jan 24, 2003 11:30 am
Post
by Butch » Sat Oct 25, 2003 9:04 pm
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 » Sat Oct 25, 2003 10:01 pm
so after that, i can make what i want of it ?
thank
tropheus
Butch
Lieutenant Colonel
Posts: 398 Joined: Fri Jan 24, 2003 11:30 am
Post
by Butch » Sat Oct 25, 2003 10:12 pm
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 » Sat Oct 25, 2003 11:38 pm
thanks
bdbodger
Moderator
Posts: 2596 Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:
Post
by bdbodger » Sun Oct 26, 2003 11:51 am
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 .