Can you see them now? ( when you play )
sadly i do not.
Number to spawn > 0 ?
ALSO: Have you put the blueprint in the map? It should be at 0,0,0
i have put number of pawn to 100
and what do you mean by. if i put the blueprint in the map?
You have a map in which you are doing this.
You have a blueprint you’ve written. This code I’ve given you.
You need to put the blueprint in the map. ( drag it from the content browser into the map )
Or did you do it in the level blueprint?
i did in my level blueprint. but thanks
If you put a print string here
Do you see ‘hello’ when you press play?
Ah…
You’re doing it in your game mode, not the level BP, right?
I don’t think you’re using your game mode.
yes i am doing it in my game mode.
You need to tell the engine to use your game mode
Then I think it will work…
i have it. it still wont work
Do you see ‘hello’? It will be top left.
yes
stil wont work
What happens if you put the print string here?
i get a plenty of of “hello” messages printed.
Did you change this?
yes i did. still wont work
Can you show the code inside your destroyable actor?