tdarb
01-21-2011, 04:35 PM
Hopefully someone can help me here. I have an object that when it is hit so many times it dies (impact sensor tied to a counter).
Now when it is hit by different sources/materials, I want to modify the damage. For instance, if the creature is hit by fire I may want it to do 2 damage, but if it is hit by a thrown block of wood I only want 1 damage. I figure tags on the projectiles and a corresponding impact sensor looking for that tag will take care of sorting out what object just hit. Is there a simple way to get it to register the damage modifiers as well?
Any help would be great. I'm getting to that point where I'm sure I am over thinking this, and I'm sure it is getting far more complicated than it needs to be. :)
Now when it is hit by different sources/materials, I want to modify the damage. For instance, if the creature is hit by fire I may want it to do 2 damage, but if it is hit by a thrown block of wood I only want 1 damage. I figure tags on the projectiles and a corresponding impact sensor looking for that tag will take care of sorting out what object just hit. Is there a simple way to get it to register the damage modifiers as well?
Any help would be great. I'm getting to that point where I'm sure I am over thinking this, and I'm sure it is getting far more complicated than it needs to be. :)