Page 1 of 1
Having AI Follow Keyboard Commands
Posted: Fri Oct 30, 2009 1:57 pm
by destos
after playing on some maps in SWBF2, an idea popped into my head
The AI are allowed to utilize the Follow Me command, but they don't understand the others, such as Need Backup, Need Ammo, Attack This Position, and so on.
is there anyway to have them understand the other commands?
Re: Having AI Follow Keyboard Commands
Posted: Fri Oct 30, 2009 1:59 pm
by mswf
Not some sort of patch I think. If you would do that, it'd probably break online compatability.
Re: Having AI Follow Keyboard Commands
Posted: Fri Oct 30, 2009 2:32 pm
by destos
if i used it in a mod or patch, then most likely it would not work online, but I'm just using this for a map, thus I'm pretty certain it would work online and off. because i would assume you could add this in via lua (though i may be mistaken, im just unsure how it would work) and because the Follow Me command works online and off.
Re: Having AI Follow Keyboard Commands
Posted: Fri Oct 30, 2009 4:33 pm
by fiddler_on_the_roof
you should be able to do something.
there is a lua command that says something like
"on you giving those commands, ..." then maybe give the ai a new goal or something