how can i individually interact with an actor that is duplicated

hi
so im trying to make a puzzle where you interact with an actor and it should change a material, but this actor needs to be duplicated. so when i interact with this actor, i dont want every actor to change but instead individually

Is this code running on the computer actor when the player overlaps it? If so, you don’t need to get actors. Just have it set its own material and leave the others alone.

@illspiritx
yes, its running on computer actor. problem is that if i duplicate the actor into 2, and interact with the computer

it changes one at the time but then if i would try to interact with one of them again, it will change both of them at the same time, which i dont want. im not sure how i can change 1 actor at the same time

maybe think of this. imagen you have an array with 3 slots (duplicated computer actor) and want to change 1 of them if being interacted.
[2,3,5]
i interact with first:
[3,3,5]
then i interact with second:
[3,4,5]

but how my code looks is like
[2,3,5]
i interact with first:
[3,3,5]
then i interact with second
[4,4,5]

not sure if that made sense but also think of it as not array but duplicates

actully i think you are right, cuz it works by the looks of it. and im thanking you for that.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.