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"

Widget visibility not working with delay

Hello every1. I was trying to make a simple damage/heal system and when i was trying to make some nice numbers appearing so the player would know his damage/heal to make the game more interesting i found a possible bug. I tried to find the solution but found nothing until now and im getting crazy with this so here i m asking for help!

Im talking about Multiplayer game here btw. here is the problem:

with 1 or 2 players it works fine!

but when i try to heal/damage 3 players at same time (AOE skill) it doesnt set 1 of the player widget visibility back to hidden:

it stays visible even if i try to heal again. Value changes, everything works fine but widget component stays visible forever.

here is the Event that fires when a player gets Healed (Server):

alt text

this will call the Event " Client Damage Widget Update" that will run on the client of the player who healed this guy (healer client). so he can see a widget on top of each player he healed with his "ammount of heal".

(The server will call this Event on the healer client for each player who got healed)

alt text

Here is the log so you can see where the Print Screens take place.

alt text

As you can see on the Log there are 3 "healed"(this one fires on the "On heal Received" Event) ; 2 "On damage" (cuz one of the 3 is the healer and i made it that the widget only spawns for players != than self) ; only 1 "Turn OFF widget" so only 1 of them will be setted to hidden so the other 1 will stay visible as you can see in the 1st image.

Also i tested it without the delay node and it works, both of them got hidden but i really need the delay there otherwise it would not make sense to have this functionallity!

Thank you for your help!

Product Version: UE 4.18
Tags:
game.png (1.9 MB)
server.png (177.6 kB)
client.png (337.4 kB)
log.png (11.7 kB)
more ▼

asked Jul 09 '18 at 11:29 AM in Bug Reports

avatar image

RyzonPT
20 3 4 11

avatar image Jeff A ♦♦ STAFF Jul 09 '18 at 12:56 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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