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"

Make a pawn follow your previous route


So this is a question I have based on a prototype idea I wanted to make.

What I want to happen: The player (in first person view) will move throughout a small level, hit a key at some time and re-spawn at the entrance of the level. A pawn (bot/AI) will also spawn there and start to move exactly how the player moved before he re-spawned.

Is this somehow possible with blueprints? (I've never tried C++ coding)

Anything that would help would be well appreciated :)

Product Version: UE 4.10
more ▼

asked Mar 07 '16 at 09:23 AM in Blueprint Scripting

avatar image

51 4 7 9

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

1 answer: sort voted first

One way to do it would be to have the player set down points every so often while walking through the level the first time. When the player respawns, then AI can then use those points to make a path. The more points, the more accurate the path would be.

I haven't experimented with how AIMoveTo or SimpleMoveTo work in regards to being inside an array. It might well be that you have to implement your own queue data structure to make it work - but it's entirely doable in blueprints.

more ▼

answered Mar 07 '16 at 10:50 AM

avatar image

420 32 9 27

(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