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"

AI following another squad leader instead of following 1 guy

I might posting the same question, but I couldn't understand the 1st one, so here it is again. When making ai follow there squad leader, they succeed in doing it perfectly. However when spawning another group and thier squad leader, they follow only one guy. Now, I only want 4 men to each group (4 men counting the squad leader, so 3 members, one leader), but again, when spawning another group, it makes it 8. How can I make 4 certain AI, follow their squad leader? (please go into a considerable amount depth, OR, send a picture (you don't have to send one.)).

Product Version: Not Selected
Tags:
more ▼

asked Aug 09 '14 at 07:47 PM in Blueprint Scripting

avatar image

FusionSticc
17 14 16 17

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Set the reference to their squad leader right after you spawn. It sounds like you are setting them all to follow the first leader, just break the spawning up into groups.

It sounds like you allready have the functionality working, so the question is a little confusing. You just set the variable for the squad leader, that is all.

more ▼

answered Aug 09 '14 at 07:58 PM

avatar image

mikepurvis
2.5k 101 66 260

avatar image FusionSticc Aug 09 '14 at 08:23 PM

Yeah, I got the function working, but it was because I couldn't find the AI span node you were talking about and references and stuff.

avatar image FusionSticc Aug 09 '14 at 08:25 PM

and the way I had done the AI following was that I did set the squad leader, but then it wouldn't specify which squad leader, because he was just a Pawn class, so then the AI would just go "hey lets all follow that guy", could you send a pciture please?

avatar image mikepurvis Aug 09 '14 at 10:07 PM

You need to add your own reference to the instance of your squad leader, it sounds like you have a class type reference.

For the spawn node, open a blue print uncheck context and type spawn.

Sorry, I can't upload screenshots for you right now, the spawn AI node is in there.

avatar image FusionSticc Aug 09 '14 at 10:19 PM

OHHHHHHHHHHHHHHHHHHHHHHHHHHHH, o k

(comments are locked)
10|2000 characters needed characters left

Can you add a tag to each leader and their respective followers and then have a for each loop check or tags and make them follow using the array output?

more ▼

answered Mar 02 '16 at 09:09 AM

avatar image

guitarguy109
21 3 5

(comments are locked)
10|2000 characters needed characters left
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