Hi, I need help about using the new UI. I think can modify the trim or colour and things, but I can't find how to make a slider more rounded. I changed the trim but it seems doesn't work or at least I don't really understand it either.. Any guide to make new UI works in ORK? I follow the tutorial and how to but both of them seems pretty basic stuff. Is there any way to make a HUD Health Slider to more rounded like in World of Warcraft Enemy HUD? it seems stuck with the box (rectangular shape).
Also is it possible to make a panel with specific position like talent window in vanilla World of Warcraft type? it contains a series of icons with arrow / line connected to other icon?
Thank you very much.
Something like a skill tree is currently not available in the UI out of the box, but you can create your own UI to achieve this. Requires custom scripting, though :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I see, after I read more I think it's not that hard either to custom script just need to get data from ORK data base. I just wish there is simpler way to achieve this through ork like integrated one. Thanks GIL.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
For the display value (in case you're using count to value settings):
int health = combatant.Status[index].GetDisplayValue();
Or the actual value:
int health = combatant.Status[index].GetValue();
index is the ID/index of the status value, combatant the instance of the combatant.
See this how-to for getting the combatant of a game object.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
if(ORK.Menu.IsMenuOpen(index))
index is the ID/index of the menu screen.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I have dummy blank menus in ORK, which call game events where I have custom nodes that open or close my actual menus. Which is a neat way to make use of ORK's input system and menu requirements (In Battle/Control Blocked etc.) to control your custom menus.
@hellwalker I am sorry, I am a newbie, but do you mean your actual menus are build with Unity UI? If you do this, do you integrate the uGUI and ORK Data manually with your script?
The way I described you can use ORK to control custom UI Windows.
Might be that this was added in later versions. Another option would be this, although I'm also not sure if it was available in ORK 2.17.0:
if(ORK.MenuScreens.Get(index).Status == MenuStatus.Opened)
Again, index is the ID/index of the menu screen.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
@gamingislove That's what I miss. It's ok I am planning to upgrade ORK when the project is almost complete due to one year subscription system. I will do the rest first and finish this problem after I update. Thank you GIL