those action bar slots are in the scene better to say the Action Bar which contains those 18 slots are all the time as a widget in the scene. What do you mean by “didn’t set them” ? I just try to set them on event begin play if this helps in any form. But nothing changed…
where was the “action bar UI” created. like create UI ,add to view port.
SET variable,means store a new value to that variable,and you could see,you didn’t create it,and set nohing to it
This was it… I found the problem lol It was where this action bar ui was created as you mentioned. I had it previously on the player controller. But at some point i had moved it somewhere else i think on my player character where i create the widget there.
Anyway the widget was still here on the player controller but it was just disconnected. So i reconnected it back and the print string which was 0 turned to get away and now the whole code fires finally correctly till the end. (I reconnected back everything as it was beacause this aways worked as it was)
Anyway ty so much now i know what i had changed that all of this stopped working. I had for some reason created the widget somewhere else (i guess i had some other problem why i couldnt keep it on the player controller). But putting it back seems to recognize this array again with the grid correctly. It now fires the code till the end and everything works Just as it was befor.
Even my options widget started working where i can set and change the key bindings for this action bar slots… gg thx man it was really helpfull.
There is still 1 problem left tough… When i press a key it counts as 18 times pressing this key. So if i set a skill on a key it execute the skill 18 times at once. What can be the problem with this ? As it seems i have it exactly the same as in the tutorial and don’t know why it fires 18 times… I try to set loop with break instead but this doesn’t help.
Edit: nevermind i think i found the problem (i have set some extra key inputs somewhere else)
i can’t help with this,because im not familiar with those keybinding/maping
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.