spawn actor with different value

i want spawn a actor with different value but with GetWorld()->SpawnActor i can´t ,when i spawned the actor, this have the same value.

how i can spawn actor with different value?, i have two construct but i think is for nothing.

Spawn actor deferred → change default values → finish spawning…

2 Likes

Ahah! Thanks for that! You’re a hero.
I was “ReInitialising” (basically running an another BeginPlay) after spawn.

thank you, this works but i have a new problem, after compiler, the actor have spawned but when replays the game , the actor is gone and isn´t created

You have to set collision handling to “Always Spawn”

not work, this is the code:

edit: I think find the error.

thank you.