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"

Spawning Random AI

Hi, Quick Question that may not be so quick.

So i would like to be able to have ships flying overhead, and there be a variation on what ships spawn and where they go. I thought that procedurally would probably be the easiest way to go about it. So i created an enumeration and labeled it for each ship, then went to my AI Pawn Bp and began coding. There apparently isn't a random select node, which sucks. But honestly I'm not sure where i would have went after that anyways. Does anyone have any ideas?alt text

This is what I have so far. Am I headed in the right direction at least? Also, is spawning a skeletal mesh even practical in terms of performance, as long as i destroy it once its out of player view?

Product Version: UE 4.14
Tags:
ai question.png (467.6 kB)
more ▼

asked Feb 08 '17 at 03:55 PM in Blueprint Scripting

avatar image

AustinFnFordham
12 3 3 8

avatar image AustinFnFordham Feb 08 '17 at 04:09 PM

Thought I'd update and see if this is correct there on the left? Problem is that there's no way to track it until i build the logic for the AI

alt text

Something I did learn is that doing this in construction script is an awful idea. Caused my whole computer to freeze. I thought doing it there would help, but i was definitely wrong.

(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