How do I let NPCs have weapons that I've downloaded in an Addon?
3 replies, posted
Let's say I get an M9K weapons pack and I want an NPC to use it. How do I let it have the weapon?
[QUOTE=WubWubSwag;42109397]Let's say I get an M9K weapons pack and I want an NPC to use it. How do I let it have the weapon?[/QUOTE]
well you would make an auto run file
[lua]list.Add( "NPCUsableWeapons", { class = "weapon_mad_ak47", title = "ak47" } )[/lua]
change weapon_mad_ak47 to the weapon name and the title t owhat ever you want it to show up as in the weapon override menu
There is an addon pack that you get from the workshop [URL="http://steamcommunity.com/sharedfiles/filedetails/?id=175533593&searchtext=M9K"]here[/URL].
This is for the M9K Weapons.
please explain more in depth:suicide:
Sorry, you need to Log In to post a reply to this thread.