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"

Getting my basic AI enemy to use a weapon with trace lines

Hi All, so I'm relativly new to UE4 as a whole, I have a few of the basics down well enough and I have a question. Recently I downloaded this template for a melee trace system.

https://forums.unrealengine.com/community/community-content-tools-and-tutorials/1430090-free-melee-weapon-tracing-system-with-multiplayer-support

Now, It works just fine with my main player character, setting it as a child BP for the one made by the author, but the AI enemy I am trying to create simply doesn't want to make an attack, I can get it to run up to the player when they see it using pawn sensing but after that they just kind of hang out. I haven't gotten into Ai acripting with controllers and blackboards and trees as of yet, though I will be starting soon. Would anyone know of a way for me to get the Ai to equip and use the custom weapon I made for it using that system ? As it stands it just spawns that weapon to the hand bone of the enemy and does nothing beyond that.

I did try asking the author but he doesn't really work with Ai so he couldn't help me, so I asked him permission to post here with a link.

Any help would be appriciated!

Product Version: UE 4.19
Tags:
more ▼

asked Jul 13 '18 at 09:32 AM in Blueprint Scripting

avatar image

Warplann
1

(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