Hi guys! How are you?
i still need you… i have a group of objects consisting of players and enemies.
I would like party items to be matted when passing behind an ammo crate.
I used this code individually without inserting the group but only the player and it seems to work… when I insert the whole group it doesn’t work
It sounds like you need to use the For Each Object option and step through all of the Group Objects.
This will let you change the Opacity and Z Order of the one Group Object in Collision instead of everything in the group.
In the inverted collision, try swapping the order of the objects use group on the right side box and the cassearmi on the left. The order doesn’t usually matter but sometimes it does. It’s checking if object is collision with object and I think sometimes it’s different with instances. If the group is 1st it’s checking all of the instances against the other object and unless they’re stacked, they’ll always be instances not in collision.
Other times you may need to use a non inverted collision inside a not condition. In this case, I think swapping the order should fix it.
I had already tried adding for each object but it didn’t fix the problem.
bravo keith your intuition was correct it was enough to swap the order of the objects.
thank you so much for your support!