Announcement

Collapse
No announcement yet.

"Execute Javascript" blueprint node

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    I see what happens. My lousy definition of this function didn't include the word "function" and even if such function will work within HTML, it will not work if it's called from Unreal Engine. Doh!

    Leave a comment:


  • replied
    Is your javascript properly written?

    if you have something like

    Code:
    <script>
    function YourJSFunc()
    {
      //do things
    }
    </script>
    and you write YourJSFunc() in the BP node it will work



    Rama

    Leave a comment:


  • started a topic "Execute Javascript" blueprint node

    "Execute Javascript" blueprint node

    I have been able to use the "Execute Javascript" node in UE4 Blueprint to do write "Hello World" when I pass the complete instruction via the "Script Text" as "document.write("hello world");". However, I don't see a way to pass this node a function call which function exists inside a script in the HTML itself. Is that even possible?

    I'm including the direct command that works, and the call for the function that doesn't.
Working...
X