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"

Multiplayer respawn tutorial issues

Hi,

I have seen all of the other post about the multiplayer respawning tutorial not working post but I wasn't able to get enough information from those post to fix my problem. I tried the tutorial twice in completely different builds but I got the same results in both instances. Here are my Blueprint Graphs that I made by following the tutorial:

alt text

alt text

My Problem might be because I use "Get Player Controller" which isn't used in the tutorial but the blueprint would not let me use "reference to self" nor would it let me compile the blueprint without the "Get Player Controller" nodes.

When I play the game, the "Print String" works on the client but the "Request GMRespawn" does not work after the player is destroyed. I also saw the use of a "death" function in other post about this topic but I fail to understand where to call that function. My Death and Health system is based on the Networking tutorial provided by Unreal https://www.youtube.com/watch?v=TbaOyvWfJE0. I would appreciate any pointers or help.

Thank You

Product Version: Not Selected
Tags:
more ▼

asked Jul 28 '14 at 07:25 PM in Blueprint Scripting

avatar image

Markeldc
26 3 5 8

avatar image Markeldc Aug 04 '14 at 08:05 PM

Alright, my problem was that I had the respawn button event directly on the player rather than a separate Player Controller. Therefore, it was destroying the respawn event when the character was destroyed and it had no way of separating the event from the player. Now I have a separate Player Controller with the respawn event on it and it works perfectly.

avatar image ganeshpingale Jan 20 '15 at 08:28 AM

can you please show your blueprint how you solved your problem. I facing the same issue.

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

1 answer: sort voted first

Just execute the death when health = 0. The respawn requires that the player controller has released the current pawn.

If you check these previous two questions they may help you get the answer you seek.

https://answers.unrealengine.com/questions/75099/how-do-i-apply-damage-to-the-player.html - for setting up health and damage

https://answers.unrealengine.com/questions/70867/multiplayer-blueprint-tutorial-not-working.html - for adding a simple way to kill the player properly so the respawn will work.

more ▼

answered Jul 28 '14 at 10:17 PM

avatar image

DJMidKnight
1.2k 50 24 50

(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