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"

How can I "Connect" my Health System with my "Hunger" System...?

How can I make sure that when the "Hunger" System is equal to 0, the "Life" System will start to go down until the value is no longer equal to 0? Both systems are already there, but I can not figure out how to create this "Connection". Thanks for the help!

Product Version: Not Selected
more ▼

asked Sep 12 '14 at 04:10 PM in Blueprint Scripting

avatar image

1 1 2 3

avatar image Malachìa Sep 12 '14 at 04:11 PM

That in practice it would be a "Damage" system. but I do not know how to adapt to th "hungry" system.

avatar image Jacky Sep 12 '14 at 04:16 PM

Look into Blueprint Interfaces. Watch BP communications video tutorials at Unreal Engine Youtube channel if you arent familiar with it.

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

1 answer: sort voted first

Hi malachia,

set up a branch with the codition >= (float, or int if hunger is an int). Set the second output to 0 and set the first input to your hunger variable. Then you can set your damage counter off of the true branch.

more ▼

answered Sep 12 '14 at 07:11 PM

(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