x

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"

Putting spaces between AIs when spawning

How do I put a space between AIs on this spawn system?

alt text alt text

Product Version: UE 4.17
Tags:
spawnai.jpg (288.3 kB)
spawnai2.jpg (255.8 kB)
more ▼

asked Jan 06 '18 at 12:20 AM in Blueprint Scripting

avatar image

w0hoho
96 18 16 27

avatar image w0hoho Jan 15 '18 at 03:32 PM

Does anyone know?

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

1 answer: sort voted first

Make a Collision check before Spawning. If its blocking then Offset check again. Repeat until you find a Spawn Location that is not Blocked -> Spawn there.

You can use a Combination of a Capsule of the same size (or bigger) as the Character that Spawns and Linetrace to check for terrain height. What you decide to use for your Offset is up to you Circular, Grids, random Locations whatever you see fit ;P

Good Luck and have Fun =)

more ▼

answered Jan 07 '18 at 12:38 AM

avatar image

Nachtmahr
6.7k 142 17 161

avatar image w0hoho Jan 08 '18 at 04:19 AM

Can you explain it a bit more?

(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