I was trying to make an event, when player uses a shield and blocks incoming damage.
Using damage zones and damage dealers.
I tried disabling damage zone (with "enable component" node), but it couldn't find "Damage Zone" component attached to the player.
The same with "Change Fields" node (I was trying to change damage zone's "Block Damage" field value through the event), it just can't find the component.
I'm typing name like "Damage Zone" and "Damage Zone (Script)", it doesn't work.
What am I doing wrong?
  • When typing component names use CamelCase. i.e. "DamageZone"

    image
  • Thank you, it works.
  • When using function nodes like this, always use the name of the component's class, not how the name is displayed in the editor :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.