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"

My Ammo Counter doesn't work for some reason... (Pictures of everything included) please help!

Well Currently I am trying to set up an Ammo counter for my weapon, that counts down from 30-0 and resets when I reload, but sfor some reason it always shows 0 as the value I am quite new to HUD creating, so please help :)

Default Values: Shots Fired: 0 Max Ammo: 30


Product Version: Not Selected
hud.jpg (1.0 MB)
more ▼

asked Nov 06 '14 at 07:14 PM in Blueprint Scripting

avatar image

79 15 13 19

avatar image henrik_baumann Nov 06 '14 at 07:27 PM

Ok I forgot to connect the variables in the functiuon, now it shows -3 tho and won't go up, which I then again don't understand, either because I really cant calculate or -3 should't even be possible in any way..??! alt text

untitled-1.jpg (255.4 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello henrik_baumann,

Have you taken a look at our tutorial on how to set up an ammo counter? If not you can go here:


I believe that you will find the answer you are looking for around step 7. I noticed that you are not casting to anything. I hope this helps.

Make it a great day

more ▼

answered Nov 06 '14 at 07:47 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 524

avatar image henrik_baumann Nov 06 '14 at 07:48 PM

ahh I feel so dumb now, thanks a lot mate :)

(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