Hey, I’m creating a new gamemode derived from the base gamemode, and one of the important things I need in my gamemode are NPCs.
However, when I try spawning an NPC in flatgrass:
KillerNPC = ents.Create("npc_combine_s") KillerNPC:SetPos(Vector(0, 0, 0)) KillerNPC:Give("weapon_ar2") KillerNPC:Spawn()
They aim at me, but don’t shoot. How can I make the NPCs shoot at me?