picking created objects in same event not working

0 favourites
  • 2 posts
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • Link to .capx file (required!):

    capx

    Steps to reproduce:

    1. on start of layout -> system create an object in a subevent

    2. in other subevent -> pick all object: do something with the object

    Observed result:

    object that got created in the same event is not picked / accessible for further actions (when moving to another subevent branch)

    Expected result:

    object is able to be picked, because it was created in a subevent before this

    Browsers affected:

    Chrome: yes

    Firefox: (don't know, probably yes)

    Internet Explorer: (don't know, probably yes)

    Opera: yes

    Operating system & service pack:

    Win 7 64bit SP1

    Construct 2 version:

    r147 beta, but also happens with r146

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as by design. I'm afraid that it's a limitation of the engine that objects created in subevents are not fully created until the next top-level event. That means newly created instances cannot be used in immediately following sibling events.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)