• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM Not detecting collision lines for children?

C

Chippy

Guest
I have an enemy that will attack if it detects the player through a collision line. If there is a wall in the way it can not detect the player. I would like to add a block that functions like the walls but the enemy can see through it. Is there a way to make this the child of the wall?
 

FrostyCat

Redemption Seeker
Use two new children of the basic wall object, one see-through and the other not. Set your existing walls to inherit from one of the two. Then change your condition to look for non-see-through walls only.
 
C

Chippy

Guest
Use two new children of the basic wall object, one see-through and the other not. Set your existing walls to inherit from one of the two. Then change your condition to look for non-see-through walls only.
It works. Thanks :D
 
Top