zjc121's Recent Forum Activity

  • You do not have permission to view this post

  • CODE

    function Cnds() {};

    Cnds.prototype.IsLargeNumber = function (number)

    {

    return number > 100;

    };

    Cnds.prototype.asd = function ()

    {

    return true;

    };

    pluginProto.cnds = new Cnds();

    //////////////////////////////////////

    // Actions

    function Acts() {};

    Acts.prototype.Alert = function ()

    {

    FBInstant.context

    .chooseAsync()

    .then(function() {

    this.runtime.trigger(cr.plugins_.MyCompany_CustomImporter1.prototype.cnds.asd, this);

    // 1234567890

    });

    };

    pluginProto.acts = new Acts();

    when i remove the "FBInstant.context.chooseAsync()" it can trigger the "trigger"

    what is wrong with it?

  • rhg1968

    thank you very very much. it is ok.

  • rhg1968

    this is my plugin please help me

    drive.google.com/open

  • Ashley

    i replace plugin_id use nodepad++ with all file

    how to upload file to here and make you help me thank you

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • rhg1968

    how to upload file?

  • MyCompany_CustomImporter1 replace MyCompany_CustomImporter en-US

    {

    "languageTag": "en-US",

    "fileDescription": "Strings for MyCustomImporterPlugin.",

    "text": {

    "plugins": {

    "MyCompany_CustomImporter1": {

    "name": "CustomImportPlugin123",

    "description": "An example third-party plugin demonstrating the Custom Importer API.",

    "help-url": "",

    "properties": {

    "test-property": {

    "name": "Test property",

    "desc": "A test number property. Displayed by 'Alert' action."

    }

    },

    "aceCategories": {

    "custom": "Custom"

    },

    "conditions": {

    "is-large-number": {

    "list-name": "Is large number",

    "display-text": "{0} is a large number",

    "description": "Test if a number is greater than 100.",

    "params": {

    "number": {

    "name": "Number",

    "desc": "Number to test if greater than 100."

    }

    }

    }

    },

    "actions": {

    "do-alert": {

    "list-name": "Do alert",

    "display-text": "Do alert",

    "description": "Do a dummy alert."

    }

    },

    "expressions": {

    "double": {

    "description": "Double a number.",

    "translated-name": "Double",

    "params": {

    "number": {

    "name": "Number",

    "desc": "The number to double."

    }

    }

    }

    }

    }

    }

    }

    }

  • hello which plugin example did you use ? i replace the 'customImporterPlugin' pluginid but not work

    it tell me this

    Reason: Error: help URL must begin with http:// or https:// Error: help URL must begin with http:// or https:// at window.ǃUt.ǃeRE (https://editor.construct.net/r104/main.js:63:492842) at new window.Plugin (https://editor.construct.net/r104/main.js:63:503623) at new window.ǃecs (https://editor.construct.net/r104/main.js:63:509439) at Function.ǃW.ǃgN (https://editor.construct.net/r104/main.js:2:140330) at o.ǃRg (https://editor.construct.net/r104/main.js:74:28522) at Object.n.push.ǃW.ǃIG [as ǃYTK] (https://editor.construct.net/r104/main.js:74:28934) at n (https://editor.construct.net/r104/main.js:2:201477) at t (https://editor.construct.net/r104/main.js:2:201262)

  • just replace plugin_id and then can not start the C3

    Error report information

    Type: unhandled rejection

    Reason: Error: help URL must begin with http:// or https:// Error: help URL must begin with http:// or https:// at window.ǃUt.ǃeRE (https://editor.construct.net/r104/main.js:63:492842) at new window.Plugin (https://editor.construct.net/r104/main.js:63:503623) at new window.ǃecs (https://editor.construct.net/r104/main.js:63:509439) at Function.ǃW.ǃgN (https://editor.construct.net/r104/main.js:2:140330) at o.ǃRg (https://editor.construct.net/r104/main.js:74:28522) at Object.n.push.ǃW.ǃIG [as ǃYTK] (https://editor.construct.net/r104/main.js:74:28934) at n (https://editor.construct.net/r104/main.js:2:201477) at t (https://editor.construct.net/r104/main.js:2:201262)

    Stack: Error: help URL must begin with http:// or https:// at window.ǃUt.ǃeRE (https://editor.construct.net/r104/main.js:63:492842) at new window.Plugin (https://editor.construct.net/r104/main.js:63:503623) at new window.ǃecs (https://editor.construct.net/r104/main.js:63:509439) at Function.ǃW.ǃgN (https://editor.construct.net/r104/main.js:2:140330) at o.ǃRg (https://editor.construct.net/r104/main.js:74:28522) at Object.n.push.ǃW.ǃIG [as ǃYTK] (https://editor.construct.net/r104/main.js:74:28934) at n (https://editor.construct.net/r104/main.js:2:201477) at t (https://editor.construct.net/r104/main.js:2:201262)

    Construct 3 version: r104

    URL: editor.construct.net

  • You do not have permission to view this post

  • exactly. I didn't think of it. Thank you

  • You do not have permission to view this post

zjc121's avatar

zjc121

Member since 7 Mar, 2018

None one is following zjc121 yet!

Trophy Case

  • 6-Year Club

Progress

6/44
How to earn trophies