Combine elite/prison guard?

I was asking myself on how to spawn a combine elite (npc_combine_e) and/or a combine prison guard (npc_combine_p) with lua.

I have tried it with the regular ent.Create method, which doesn’t work for those two NPCs but only for npc_combine_s (Soldier; Classical combine).

As you can spawn elite combines in sandbox, it has to be possible.

  • How to spawn a combine elite with Lua?

They’re just npc_combine_s with a different model.

Oh, I thought there were actually multiple NPCs because the combine elite somehow seemed “stronger”.

Thank you.

Here’s a function you can use to make their aim better :