Displaying an HTML and updating it using JS in realtime
Hello!
I've come across your project and it looks awesome!
I'm trying to display a basic HTML file (one with a header alone). and it works just fine - and it was real easy.
now I want to update the header in real-time using a JS script I have, I figured I need to use the "Execute Javascript with params" for that.
I tried placing it inside the widget - like so
and I didn't do anything, I did get the "after" printed when I ran the function, but nothing changed.
I also tried placing it inside a bp function- like so:
and when I try to run it - the engine crashes and gives "Exception_access_violation reading address 0X00000...."
I would highly appreciate any help in regards to how to run the Javascript to update the HTML in run time.
Thanks!
Your BluEye may not be initialized when you call the function. I found I needed to delay the update call by a bit after begin play for the result to show up. Using e.g. BluiWorldWidgetActorExample child class and accessing it's BluEye via the widget in the event graph
