I'm trying to display a unique status bar for a specific combatant and when I created a new status value it show up for all the combatants and I was trying to use the hud condition component on the status bar prefab but I am quite lost and have tried everything but the status bar keep showing up so could tell me what I am to do
  • edited July 27
    Hi @Firex

    Try putting the HUD condition component on the object that has the HUD Status Value or HUD Status Value List , whatever you are using to get the status value.

    The HUD condition needs to be on the object with a HUD component I think, and not on the status value bar prefab. At least that's how I have it set up for some experience HUDs I have.
    Post edited by GeneralK on
  • Alright I've tried what you said but when I set it up, the whole hud disappears for all the combatant that does not have that unique status value greater than 0 and only show their name could you tell me what I'm doing wrong
  • I'd recommend to have a HUD setup where your status value list/display doesn't include that special status value.
    Add it as it's own setup to the HUD instead and use the HUD condition component on that child object. The HUD Status Value (Content Provider) component can be used to use a defined status value as content.

    So, set up a child object on your HUD with the HUD condition and the HUD status value content provider and add the status value content stuff there (text, value bar) using the status value content provider as their content provider.
    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.