Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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

alt text

Product Version: Not Selected
test.png (134.4 kB)
more ▼

asked Oct 29 '14 at 09:48 PM in Blueprint Scripting

avatar image

12 10 13 14

avatar image Serhat Oct 29 '14 at 10:03 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


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.

more ▼

answered Oct 29 '14 at 11:12 PM

avatar image

DG Gage
1.6k 62 31 129

avatar image Mint92 Oct 30 '14 at 06:47 PM

Ill give this a shot, thanks man

avatar image Mint92 Oct 30 '14 at 07:10 PM

alt text

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.

test2.png (168.5 kB)
avatar image Mint92 Oct 30 '14 at 07:24 PM

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 alt text

test3.png (144.7 kB)
avatar image DG Gage Oct 30 '14 at 08:10 PM

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 :)

avatar image Mint92 Oct 30 '14 at 08:19 PM

cheers man, appreciate the help

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question