Spawning from multiple target points

Hey guys,Ive got a character to spawn from one of the target points in the level, how do i get it to spawn from several points and randomly

hi can you help me about death system? i want too did like this but i cant make death system

That’s how you set up random values.

Just set the range for the random values, probably integer, and set conditions for which spawn points it will use.

Based on your question and the nodes I’m seeing, you’re wanting a random effect, with both location of spawn and number of spawned fishies.

Perhaps you could start by randomizing the delay. Use the float randomizer and set the range to something like .3 to 1.

Set up branches, using the randomized values as conditions. For example, your randomized range could be 0-4, using a randomized integer.

Branch 1: check if random value is 0. True: no spawn. False: go to next branch

Branch 2: check if random value is 1. True: spawn at location 1. False, go to next branch.

You see where I’m going. Let me know if this achieves what you’re wanting.

If you’re wanting to spawn multiple fishes, duplicate the system and have it come out of an already-active spawn node. Then you’d have 2 randomized fishes at once. Keep going for as many as you want, and in conjunction with the randomized delay, you should have a pretty random effect.

Ill give this a shot, thanks man

okay this is what ive got so far and and they spawning from all points using delays and branches which is good step in the right direction, but how do i bring it all together using the random stream so its completely random of how they spawn, so the spawning pattern is random and not using delays all the time, or else the player will find it easy to catch the fish.

okay so i just added the random stream and used the in range float, seems to be working :). now i need to figure how to randomise the speed of the character

Awesome, glad to hear it!

Also, if you’re having trouble with the speed, make a new question and I’ll be happy to check it out :slight_smile:

cheers man, appreciate the help

how would this work if I have 45 target points in my game they all will need to spawn ores at the same time but they all need to be on a delay the delay will Varey