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"

HUD: view and update values

Hi, I want to view and update values on the player's HUD for a multiplayer game, its updating but to all players. Thanks Character's Blueprint alt text

HUD Blueprint alt text

Product Version: Not Selected
Tags:
aaa.png (153.3 kB)
aaa.png (130.5 kB)
more ▼

asked Jul 05 '14 at 08:24 PM in Blueprint Scripting

avatar image

Cobra
5 1 3 4

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

1 answer: sort voted first

PlayerIndex 0 is really best for single player and splitscreen multiplayer where you have all the users on one computer and know whos who.

But basically if you are trying to do a network setup you need to cast to the Controller and HUD owner so that they are each separate.

heres a simple example for getting health from the player

this

note this was being made into a function just to tidy up the event graph and make moving nodes around easier. My work flow is once I have a large set of node working or I keep using a certain setup over and over is to make it into a function which is easier to move around :)

example.png (88.5 kB)
more ▼

answered Jul 05 '14 at 08:40 PM

avatar image

DJMidKnight
1.2k 50 24 51

avatar image Cobra Jul 05 '14 at 09:41 PM

THANNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNK YOU :D sorry for caps but really i was searching everywhere and i couldn't find the answer :P

(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