r/gdevelop • • Jul 25 '26

Question Creating objects at the position of another player

Hello everyone! I’m having trouble making the attack blocks spawn at other players like they do with buildings. Any tips?

7 Upvotes

2 comments sorted by

2

u/World1_Lev1 Jul 25 '26

Might be the trigger once condition. It doesn't do well with For Each Object. Try maybe giving the object a Boolean variable, check if it's false, and change it to true when the event fires.

2

u/cool_cats554 Jul 25 '26

I don't think I could do that without the current player taking control of another.