How To Use The Same Actor Twice

Hello. Good morning/Evening
I’ve ran into a problem with actors. So let me break it down.

  1. I’ve created a blueprint actor and inside the acter im running a code.
    2.inside the actor i have a few variables. Boolean, Integer…
  2. I have placed the same actor through out the map multiple times.
    How ever this is where i run into problems. Each actor is NOT independent. They interfere With Each Other. For example If i place the actor twice in the world the code will run twice. And The two actors SHARE the same variables.
    i also found a fix for this which is to make the variable in the player character but i don’t want to/can’t do that to every variable.
    i just want to run a code and place the actor as much i want without worries.

Thank You for time and help.
Hope you have a great day.

If you make a blueprint, and you put 2 copies in the world, both of those blueprints will run the code, yes.

But they are independent, the variables are internal to each actor.

1 Like