Has anyone had any luck getting entities spawned in a metamod plugin to
take damage from player fire? (The goal being having the entities health
attribute reduced when a player shoots it.)

I have tried a variety of things including setting takedamage to
DAMAGE_AIM and DAMAGE_YES with a solid type of SOLID_BBOX. I get the
feeling it is probably some combination of the type of entity you create
and some other flags but I have not yet been able to stumble across the
correct combo.

Looking at botman's monster plugin it appears the monsters are able to
take fire from players reducing the health attribute of the entitie. As
far as I can tell the monsters are created as func_wall entities with
takedamage set to DAMAGE_AIM and the FL_MONSTER flag set. These
combinations do not seem to work for me. I am obviously missing
something, I just wonder what. *bangs head on desk a few times*

Anyone have any ideas?



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to