Making NPCs shoot people.
#1

I've almost done it. I've created a function where npc is given a weapon, he is turned to the player direction and shooting animation is applied. There is also a tiny explosion for the shot and if a player is close enough to the bot, server will decrease his health and add a blood coming out object for a second. Looks pretty realistic. The only problem yet is that my bot won't hold a gun when I give it to it. (GivePlayerWeapon). How do I make it hold the gun? Don't tell me the only way to do this is to create an object with a gun model...
Reply


Messages In This Thread
Making NPCs shoot people. - by KKashimia - 10.11.2009, 21:11
Re: Making NPCs shoot people. - by Gergo1352 - 10.11.2009, 21:16
Re: Making NPCs shoot people. - by KKashimia - 10.11.2009, 21:20
Re: Making NPCs shoot people. - by Gergo1352 - 10.11.2009, 21:28

Forum Jump:


Users browsing this thread: 2 Guest(s)