multispawn

I have a project but I have a problem. I haven’t seen a multi-spawn method anywhere, even though I’ve searched.

i think it does not exist… but the computer is fast, you can simulate it…

Or maybe you are looking for a pooling method

1 Like

thank you but i want to spawn it five out of 10 target points

Could you clarify what you want?

Are you just looking to spawn 5 things each at a different target location from an array of 10 possible locations?

yes

I’d recommend a vector array.
Simply make a vector array and populate it with 10 locations.
To make this easier, make the array Instance Editable and Show 3D Widget:
image
Assuming you’re spawning this from a type of manager that just stays at 0,0,0. If you’re not, you’ll have to either manually populate the coordinates or use something other than a vector array.

To spawn at a random 5 of those locations, the simplest way I can think of is to shuffle the array and go over the first 5 elements:

thank you

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