DrVrej / VJ-Base

An addon for Garry's mod that contains bunch of bases to make many different types of addons.

Home Page:http://steamcommunity.com/sharedfiles/filedetails/?id=131759821

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPCs don't attack

BGiPV opened this issue · comments

commented

NPCs run around the map, stand, but do not attack players. This happens to different NPCs from different addons. And the following error will appear in the console.

[VJ Base] lua/vj_base/npc_general.lua:1286: attempt to call method 'GetMaxLookDistance' (a nil value)
  1. SetupRelationships - lua/vj_base/npc_general.lua:1286
   2. unknown - lua/entities/npc_vj_creature_base/init.lua:1900
commented

You are using either an outdated GMod version (Chromium) or a pirated version which tends to be outdated too.