how to have one actor but change attributes depending on location on scene

hey guys

so i know the solution to this issue may seem simple but im unable to do it

so i have 3 actors on the right of the scene, each one changes color on touch and i have actors get spawned from the left and when the colors match they destroy.
but since i have one attribute which says when game.colormain is self.mycolor destroy
if the player only changes the color of one of the actors it applies to all even though they appear different colored and it destroys. and i get that its because of the colormain attribute

but heres my problem, i made 2 extra attributes but its still not working.

and i dont want to have the actors that get spawned to be more than one

if you dont understand i can try uploading a video or something

thank you

Comments

Sign In or Register to comment.