I have a simple case where I have a tiled background object (ProjectileField) that spawns another tiled background object (Vines) in a different layer than itself.
However, instead of picking the newly spawned Vines object and setting only its angle and position, it picks all of the other Vines already in the layout and sets all of their angles and positions. This only happens when I use a function to determine the correct layer to spawn it in. If I set the spawn layer to 1 (which is disabled in the screenshot) the picking works perfectly fine. Am I not allowed to use a function there? What am I doing wrong?
Maybe useful added context:
- The ProjectileFields are already in the layout, some spawn Vines, others don't.
- I used a text object to see how many Vines are picked immediately after the Create action, the result is "-27-1-1-1-1..." meaning that 27 are picked the first time the ProjectileField On Created block runs, and then only 1 after that.