One Actor Checking Attribute Of Other Actor?

Hi, I'm working on a math game for kids where they drag number blocks over pictures that have sets of items on them. So, a number "5" block would be a correct fit over a picture of five carrots for example.

I have it worked out as long as there are not two of the same number on the stage but if there are two 5's for example only one of the "5" blocks is recognized as the right answer and the other "5" block is recognized as wrong.

My question is, is there a way for one actor to check a value of another actor? So I could have the number blocks and the image blocks have an "My Value" attribute that they check against each other? The values are all stored in tables so I don't think it's possible to use labels since the objects on the stage get their values at run time.

Thanks for any direction you can offer.

Rich

Comments

Sign In or Register to comment.