2007.08.31, 04:46 PM
Is there a way for an object to ignore, or change the amount of damage taken, depending on the projectile?
As an example, a regular bot person would take x damage from a bullet, a bot with armor would take none. Or, I have situations where a bunch of bots on one team group together while firing in one direction, and I need the ones in front to stop getting mowed down by their fellows.
I can see one way of faking this using the hit.projectileName and hit.damage, where if projectilename is, say, teamABullet, then it takes the damage taken and adds it back on. This seems rough though.
As an example, a regular bot person would take x damage from a bullet, a bot with armor would take none. Or, I have situations where a bunch of bots on one team group together while firing in one direction, and I need the ones in front to stop getting mowed down by their fellows.
I can see one way of faking this using the hit.projectileName and hit.damage, where if projectilename is, say, teamABullet, then it takes the damage taken and adds it back on. This seems rough though.