Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible to make enemy ai to swap,equip and aim weapons?

Asked by 3 years ago

Okay, I was wanting to know if it is possible to make them swap weapons and aim them. Can I give the ai a backpack? Or do I have to write values to equip weapons?

1 answer

Log in to vote
0
Answered by 3 years ago

NPCs as far as I know do not have a system like the backpack built in, so you'll probably have to make your own. I encourage you to read up on module scripts since... well... it'll make things a bit more modular, especially if you want to extend that system to other things as well. But to answer your title question, yes it is very possible.

Ad

Answer this question