Can I stop the health modifier from hurting the puppet it's attatched to?
I've been messing around with the logic for Connie, and I wired health modifiers for both her light slam and heavy slam attacks. When I try to assign the modifier as a zone around her (so enemies nearby will get hurt when she attacks), it ends up taking her own health away, along with the enemy's health.
I can change it to damage on contact with the enemy, and it fixes the issue, but I've found that to be very unreliable. It sometimes won't even register that the attack happened.
I thought about wiring the attack to a zone that sticks to each enemy but that seems really complicated. Is there an easier and more obvious way to do this that I'm missing?
-
There isnt option to not affect the item its attached to? Can you choose what tags it affects?
Regardless, try a trigger zone instead. They DO have those options. Make the zone look for enemies, and damage each enemy that is detected when the attack goes off. -
Yeah, this is kinda confusing as a default but there are situations where it can be useful to have a health modifier affect the object it is on.
The best way to exclude the puppet that the health modifier is stamped on is to use the tags. Tag your puppet as a friend and untick friend from the tags on the health modifier. The health modifier should disregard all friends now and your puppet should not be damaged.
Hope this helps :) Peter -
The suggestions have helped, thanks!
I should have mentioned however, that I'm making a multiplayer fighting game, and since there are multiple possessed characters, the tags would need to be identical for all of them, right?
댓글을 남기려면 로그인하세요.