Javascript (Construct 3 Plugins)

  • 57
    This content is deleted
    Extension
    Javascript

    Use 3rd party JS libraries (including JQuery), call Javascript functions, access object properties and methods. Implement game objects, and algorithms in Javasc...

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • I execute code like this :

    "window.web3.eth.getAccounts(function (errr,accounts)

    {

    console.log(accounts[0]);

    });"

    Result display in console is correct. But how to pass this value to variance in C3?

    Sorry for my poor english.

    Thank you.

    • You don't pass anything TO construct. You use "Value" expression of the plugin to get the value of whatever you want in your code. See the manual and the examples.