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"

Enemy AI Help

I'm figuring everything else out but this. I need to have some sort of damage system working with the bots.

For something simple, I want to just create something that damages a player when the bot touches them.

This is what I have so far for a health system, thanks for your help :Dalt text

Product Version: Not Selected
Tags:
3.png (130.4 kB)
more ▼

asked Sep 20 '14 at 06:05 PM in Blueprint Scripting

avatar image

TSpartanT
116 17 20 26

avatar image TSpartanT Sep 21 '14 at 07:56 PM

Bumping because I still haven't gotten an answer..

avatar image TSpartanT Sep 22 '14 at 06:00 AM

bumping again.

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

1 answer: sort voted first

Hey, there is a minor error there. you need to connect the result of the minus operation to the comparison node otherwise your enemies will keep walking around with below zero healths until you hit them again.

You can create a blueprint interface or use the native damage system in UE4.

more ▼

answered Sep 20 '14 at 07:51 PM

avatar image

alperenakyuz
2k 62 24 111

avatar image TSpartanT Sep 20 '14 at 07:52 PM

Oh wow, broke the entire thing. ha. Thanks for the help

avatar image TSpartanT Sep 20 '14 at 08:04 PM

Fixed. Probably a bit extra, but it works.

alt text

3.png (85.5 kB)
(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