Does anybody have a list of the max health for the basic npcs?
I'm talking about alyx, citizens, combine soldiers, etc.
I think this:
[lua]function NPCSpawn( pl, npc_type, npc_weapon )
local iHealth = iEnt:Health( )
print ( iHealth )
end
hook.Add( "PlayerSpawnNPC", "playerSpawnNPCTest", NPCSpawn );[/lua]
Should print their health (in console) every time you spawn an npc. I'm not sure if there's a list.
Sorry, you need to Log In to post a reply to this thread.