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 with teleporting an enemy!

I need a little help. I am making a game level for my college FMP which follows a miner character being chased by an AI whilst trying to escape. In my game i have a system that teleports the enemy character near to the player if they are out of distance. The only problem is that the enemy can teleport within a radius of the character which involves being able to teleport inside the character. I need to add a system that teleports the enemy but doesnt teleport it too close to the character. The image below is the best drawing i can do to show what i mean as i want the enemy to teleport within the circle but not within the shaded area around the centre. How would i do this using blueprints? Any help is appreciated, thanks in advance.

alt text

The shape in the centre of this drawing is meant to be the player and the circle is the radius it can teleport in. If you need a screenshot of the blueprint i have already produced then i can do that.

Product Version: UE 4.7
radius027.jpg (141.8 kB)
more ▼

asked May 15 '15 at 12:23 PM in Blueprint Scripting

avatar image

21 2 5 6

avatar image JayyMayte May 15 '15 at 12:27 PM

alt text

This image may be hard to follow as its really messy but this is the blueprint that allows the enemy to follow the player around and teleport within a radius.

ai.png (573.3 kB)
avatar image Narghile May 15 '15 at 01:32 PM


All I have done via teleport was this.


It work fine, but what you may need to do

When teleporting, use a Boxtrace so make sure you do not teleport within an object.

Choose a location with X/Y/Z of player, this could be a Collision box around player.

Run an check, if failes, try again.


(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