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"

Need help spawning actors to specific locations randomly.

Im trying to create platforms that will spawn next to each other from a central point on the X and Y axis. I want them to spawn randomly next to each other eventually surrounding the original central point. I have three actors that I am trying to get this to work with but after multiple attempts Ive just cant figure out how to do it.

This is an example of what im trying to so simplified as much as possible. The square's should keep growing, eventually becoming huge. alt text

The central point would be the sphere. alt text

Then when the player presses F the tiles should spawn randomly at these four locations. alt text

When the player presses F again more tiles should spawn however instead of going where the firstly spawned tiles, they will attach to the spawned tiles in random order looking roughly like this. alt text

When the player would press F again it would grown again adding another row of tiles around the outside. The player would be able to spawn as many as they want. I've been trying multiple different ways and I have no clue how to do it.


Product Version: UE 4.12
screenshot_8.jpg (45.4 kB)
screenshot_1.jpg (98.3 kB)
screenshot_2.jpg (127.6 kB)
more ▼

asked Jan 04 '17 at 11:39 PM in Blueprint Scripting

avatar image

16 2 7 11

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

0 answers: sort voted first
Be the first one to answer this question
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