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"

[UE_4.4][AI + Navmesh] Using NavLinkProxy's smart and simple links - only simple seems to work?

Hi,

I'm experiencing problems while trying to use smart links in AI navigation.

In my understanding Smart links are used for cases when you want to enable/disable them, opening up temp paths for AI to use, and turning it off when certain conditions appear - hence the "enable smart link" bool.

Problem I find is that if a simple link points are not present in a NavLinkProxy (with Smart Link set up for both ends + Use Smart Link on true) - AI stops using this proxy and cannot operate only on Smart Links.

Only after Simple links are set up, AI seems to use this proxy to travel between navmeshes. In essence - smart link does nothing (no matter if its enabled or dissabled) apart from handling one event ("Smart link Reached") .

Question: Is there a way to use NavLinkProxy with ONLY smart link setup (without simple points) by AI or do I missunderstood the purpose of a Smart link (if so, can someone please explain?). Unfortunately the documentation regarding this topic is almost non-existent..

I would greatly appreciate help. Thanks T

Product Version: Not Selected
Tags:
more ▼

asked Sep 01 '14 at 12:15 PM in Blueprint Scripting

avatar image

Talanar
46 3 5 13

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

1 answer: sort voted first

Ok so I found the reason this wasn't working - I was using NavLinkProxy as I Child Actor in a blueprint and apparently there are some problems with using smart links there.

You can find relevant bug posted here:

https://answers.unrealengine.com/questions/92267/-bug-441-navlinkproxy-as-child-actor-smartlink-bug-1.html

more ▼

answered Sep 02 '14 at 09:10 PM

avatar image

Talanar
46 3 5 13

avatar image Luxyr Sep 08 '14 at 09:53 PM

Have you found any good way to use smart links within another blueprint? I'm having the same issue that I want to populate links in blueprints that will be in many places in my level, rather than having to populate each link individually.

avatar image Talanar Sep 09 '14 at 11:33 AM

Well not really, all I can do for now is sit and wait for 4.5 and keep my fingers crossed it will be fixed there :) But remember that my issue regards only smart links - simple ones work fine, so unless you want to enable/disable them I would just use simple links if I were you. If simple links dont work for you as child actors, show me your blueprint settings and I can compare with mine.

avatar image Luxyr Sep 09 '14 at 05:37 PM

I've had a strange occurrence, smart links on a NavLinkProxy derived class as a child actor are working for me now. My derived class uses the PointLinks data to populate the SmartLink, including the start/end points, direction, and NavArea. It also sets the NavigationRelevancy of the SmartLinkComp to true and empties the PointLink array.

Defaults for NavLink blueprint alt text

Code for copying PointLink data to SmartLink alt text

To be honest, I'm not exactly sure why this works, but just having the smart link data itself doesn't.

navlink.png (35.3 kB)
navlink2.png (17.5 kB)
(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