Add the following to the code to the character ai script (e.g. ai_soldier.lua) in the main function:

	if AI_Attach_health_bar ~= nil and g_health_bar_list[e] == nil then
		AI_Attach_health_bar (e)
	end


Make sure you have 1 HealthBarRed Decal and 1 HealthBarGreen Decal per on screen character (i.e. if you have ten soldiers you need 10 red and 10 green decals).

Enjoy