How do I add dialogues for system object?

0 favourites
  • 1 posts
From the Asset Store
This is a single chapter from the "Construct Starter Kit Collection". It is the Student Workbook for its Workshop.
  • looking to add system dialog functions for the following so they can be used:

    SysCnds.prototype.PickSiblings = function (obj)


    if (!obj)

    return false;

    // Get the current sol

    var sol = obj.getCurrentSol();//return obj.solstack[obj.cur_sol];

    var instances = sol.getObjects();

    var select_all = sol.select_all;

    // Index out of range: condition false (no wraparound)

    if (instances.length != 1)

    return false;

    var inst = instances[0];

    cr.clearArray(sol.instances);//TRUNCATE ARRAY TO 0 LENGTH

    for (j = 0, lenj = sol.siblings.length; j < lenj; ++j)


    if(sol.instances.length < lenj)



    sol.instances[j] = inst.siblings[j];//.getInstanceByIID(sol.instances[j].iid);



  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)