I'm making a kill tile, but only for monsters(so monsters can't enter a certain area)
But, I need to be able to check to see if the thing that stepped on the tile is a monster or a person...
So far I have a check that sees if a tamed animal steps on it...
now I need a check to see if its a human stepping on it and/or a check to see if its a monster/animal
something like this
Code:
if (who == monster)
ApplyRawDamage( who, GetHp(who) );
endif