interactable buildable widget not working
Im trying to make a widget appear by setting the mInteractWidgetClass to the widget, but when i press E ingame on the buildable nothing happens. i have no clue why, nor how to make it work. I have mIsUseable set to true.
Solution:Jump to solution
lmao it was cus i was too lazy to update the unreal engine to the latest provided by sml
15 Replies
What widget are you trying to open? have you compared notes with the examples in the example mod of SML?
Im trying to get multiple widgets for multiple buildables,
Some are supposed to have custom widgets
I've implemented custom widgets and it was just as simple as making the building usable and setting the class. What parent class are your widgets using?
The widget useable one, (i sorta forgot it's name)
Theres one where its parent is widget_powerpole
That's exactly what my Railway powerbox does


Is your mesh actually solid? what do you have the colliders preset set to?
yes? its set to BLockAllDynamic
its wierd, i added debugging and the events get triggered, but when i press e, it doesn't show the widget. is it because i have to manually impliment logic to open/close the widget? (idk how tho ;-;)

i manually called registerinteractingplayer on use but still nothing :/
none of the widget's functions were fired
Yeah, I have no idea why it's not working given that it's usually simple and you appear to of done those steps.
:/
All I can say is compare notes with example mods and my open source mods
k
Solution
lmao it was cus i was too lazy to update the unreal engine to the latest provided by sml
i didnt question it cus it worked fine