Touch Actor 1 chgs color of actor 2
bigdbz
Member Posts: 13
Hey guys.
This will be real simple but I cant work it out.
I have a box (Actor 1) blue in color. When I click/touch actor 1 I want actor 2 also a box to change color to blue.
If I touch actor3 (white) I want actor 2 to turn white.
I know this will be simple but I cant seem to get it!
thanks
db
This will be real simple but I cant work it out.
I have a box (Actor 1) blue in color. When I click/touch actor 1 I want actor 2 also a box to change color to blue.
If I touch actor3 (white) I want actor 2 to turn white.
I know this will be simple but I cant seem to get it!
thanks
db
Best Answer
-
fadamion Posts: 309You need a global attribute call it "change color" make it a intrager.
Then add a rule in actor 2 something like if "change color = 1" change to this color rule 2 change to this color. Then on actor 1 add a rule if touched change attribute "change color" to 1 on actor 3 add a rule if touched change attribute "change color" to 2 and so on. Its late hope that makes sense.
Answers
Thank you so much. That is not the direction I thought I had to go. I really appreciate the input.
Thanks db