Spawning NPCs in squads/groups.

Sparta

Newbie
Joined
Sep 27, 2003
Messages
6,312
Reaction score
0
I'm not talking a big bunch of NPC's, i'm talking creating 3 or 4 combine, assigning them a squad (i think its the setsquad or setgroup command or something) and setting up another group of citizens and watching how the two fight each as groups rather then a bunch of huddled individuals
 
ent_fire npc_combine_s SetSquad somesquadname

you can repalce npc_combine_s with a name or with npc_citizen...

Player_Squad = your "helper" squad.
 
thanks man, thats exactly what i was looking for ;)

Just double-checking something, theoretically this should work based on what you're saying

bind "q" "npc_create_equipment weapon_ar2; wait; npc_create npc_combine_s; wait;ent_fire npc_combine_s SetSquad Enemy"

This should spawn a combine soldier with an impulse rifle and place him in a squad called Enemy. Is this correct?
 
Back
Top