Guards bleed when shot (easier and less memory draining)I know I already posted a tutorial for this, but I have found a much easier method that takes less memory. It is done with just one if statement at the end of the DamageActor function in WL_STATE.C:
if (ob->obclass != mechahitlerobj)
SpawnStatic (tilex,tiley,SPR_STAT_36);
So, All enemies and bosses will bleed when shot, except for Mecha Hitler, as he in in a metal suit.
This, as you will see, is much better than my earlier version.
There you go
-Deathshead
EDIT: DAMNIT! There goes what credibility I had. You still have to add the variables I add in the last tutorial, but you use this one statement instead of all the PlaceItem things. Thinking about it now, you could probably just put the PlaceItem thing in the same spot as this...