• NPC Aim
    1 replies, posted
How to I increase the following NPC's shooting accuracy? [lua] local ent = ents.Create("npc_combine_s") -- This creates our npc entity ent:SetPos(tr.HitPos) -- This positions the npc at the place our trace hit. ent:Spawn() -- This method spawns the npc into the world ent:Give( "ai_weapon_smg1" ) -- This method gives the npc a pistol ent:Activate() [/lua] The code bellow does not help with there aim. [lua] ent:SetCurrentWeaponProficiency( WEAPON_PROFICIENCY_VERY_GOOD ) [/lua]
[code] ent:SetCurrentWeaponProficiency( WEAPON_PROFICIENCY_PERFECT ) [/code]
Sorry, you need to Log In to post a reply to this thread.