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 making an object collection counter

alt text

alt text I am trying to make a collectible in my game, with a counter of how many collected on the hud. What am i doing wrong? I think i am missing an object for the cast to triggerbox, if so what do i use as that object. first screenshot is the hud second screen shot is of the collectable

I am a noob with unreal so pls explain in basic terms. Any help is EXTREMELY appreciated.

Product Version: Not Selected
more ▼

asked Mar 19 '15 at 12:27 AM in Using UE4

avatar image

3 1 2 5

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

1 answer: sort voted first

This is how I did it. Your millage may vary. The character blueprint has the info for what shall be picked up, as in this case "Gem Pickup". The "Gem Count" is an integer I made up for it. Over in the item blueprint, I have a new function called "Gems Picked Up". This is where the counting comes from.

Not sure if this is exactly what your looking for, but it does what it should. I don't have one that adds to a graphical counter, but this is the skeleton to get started.

alt text

alt text

charpart.jpg (239.1 kB)
itempart.jpg (91.7 kB)
more ▼

answered Mar 19 '15 at 01:23 AM

avatar image

21 1 4 5

avatar image MatrixGuy Mar 19 '15 at 01:57 AM

THANK YOU VERY MUCH! Exactly what I needed! :)

avatar image fallout2023 Mar 19 '15 at 02:10 AM

Good luck, friend. There's nothing more satisfying than making progress. :)

(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