Coding... Hit with out damage... Created 18 years ago2006-03-02 18:51:48 UTC by NemoStein NemoStein

Created 18 years ago2006-03-02 18:51:48 UTC by NemoStein NemoStein

Posted 18 years ago2006-03-02 18:51:48 UTC Post #166011
Ahnnn... I'm coding now (it isn't so hard), and I wanna make something like this...

When monster "A" attacks the monster "B", the "B" receives the hit (and reacts) but don't receives any damage... But, if another class of monster attacks the "B", the "B" receives the damage naturally...

The "A" is a houndeye based monster...
The "B" is equal to "A"...
The "C" is any other monster...

ps: Poor english, sorry...
Posted 18 years ago2006-03-02 20:05:01 UTC Post #166031
As far as I know, there's code like this already - houndeye's don't take houndeye damage, for example. You could look into that, maybe it's generic enough to be useable to check for other types.
Posted 18 years ago2006-03-02 20:05:39 UTC Post #166032
Just like the grag is invinsible to bullets but explosives hit him? Maybe look in the grag's code.
Posted 18 years ago2006-03-03 09:35:12 UTC Post #166079
Cap - I know that the Hound don't receive damage from another Hound... But I want that he knows that he was attacked by another one...

I'll keep trying... (Any help is appreciated...) :)
You must be logged in to post a response.