half-life source how too spawn a himan grunt squad?

highlander

Newbie
Joined
Jan 7, 2006
Messages
4,281
Reaction score
0
hey all , i was just wondering if any members of this forum knows how to spawn a human grunt squad? i know how too spawn a human grunt , but i want too spawn a squad , any help would be apppreiciated



sorry if this is in the wrong section




-highlander :cheers:
 
I'm not sure that there is a way to spawn a squad of grunts, I'm absolutely not sure though.

Moved to the Valve Games Help forums.
 
There is a way to spawn squads in the HL2 engined games I've tried it in (HL2 and garrysmod). Basically, you create an entity and assign it a squadname, if there is no squad by that name when you create the NPC, then the squad is created.

I don't remember the commands, however. I think it might just be another command line argument though. EG

npc_create monster_human_grunt squad1

and you pop them down one by one.

This is all very fuzzy to my memory though. Someone will surely come by and clear it up.
 
thank you very much bliink :) i'll try this after school today too see if it works :):E
 
no , that didnt work , can you post a link or somthing to find out where i can find out how to make a human squad , would appreicate it, if you could :)
 
ok, try this, the first command makes your npc, the second must be entered while aiming at the npc, and gives the npc the name "soldier" the third commands the game to assign the npc named "soldier" to a squad named "1":

npc_create [whatever npc name here, eg monster_barney]
ent_setname soldier
ent_fire soldier setsquad 1

you can make a bind like this (this example is for hl2):
bind "i" "npc_create npc_combine_s; wait; ent_setname soldier; wait; ent_fire soldier setsquad 1
 
Back
Top