Link to .capx file (required!):
dl.dropboxusercontent.com/u/47035927/temp/test2.capx
Steps to reproduce:
1. Created a function call
2. Make a family of objects
3. Inside each object, create their cointainers
4. Create a object inside the function call or inside a trigger
5. Right after, Pin the child on the pather
Observed result:
I was working with a similar way of doing it by giving instance variables and setting their father without the containers. But now, using containers to make the job easy on this battleship game, this issue is making impossible to pick the child without workaround.
Expected result:
As a child created by the container, inside the same condition where the panther is created, I expected to see child setting their position against their points and pinned in the same event, but it's missing this part.
I did the exactly same using IDs and Variables, so, if it's not my mistake, it should be a bug.
"While on PREVIEW, press SPACEBAR"
I did this post before researching about the issue and reading every post in this forum possible to find with the tag "Container"
So, this is one part of the manual where said how it should work:
scirra.com/manual/150/containers
What containers do
Placing objects in a container has the following effects:
1 If one object in a container is created, every other object in its container is also automatically created.
2 If one object in a container is destroyed, every other associated object in its container is also destroyed.
3 If a condition picks one object in a container, every other associated object in its container is also picked.
In the creation event, I picked the created object and checked if it is overlapping the child, and tried several types of combination, like doing it inside the same conditional, without indenting, and checking if outside the whole event, but inside the loop, and, without loop, it still getting the same result.
Browsers affected:
Chrome: yes
Operating system & service pack: Win 8.1 / 7
Construct 2 version: 150