Entity:SetKeyValue
Description
Sets Hammer key values on an entity.
You can look up which entities have what key values on the Valve Developer Community on entity pages.
A list of basic entities can be found here.
Alternatively you can look at the .fgd files shipped with Garry's Mod in the bin/ folder with a text editor to see the key values as they appear in Hammer.
Arguments
Example
Makes an NPC not drop their weapon and drop a healthkit on death, using SF Enumerations on a Combine Soldier.
A list of spawnflags a Combine Soldier has can be found here.