Announcement

Collapse
No announcement yet.

Multiplayer server spawn at 0,0,0 location

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    here is my function in player controller and the function that call to respawn in player character;

    Leave a comment:


  • replied
    My project is corrupted or what?

    Leave a comment:


  • replied
    Everything work but the server respawn at 0,0,0 when a client spawn or respawn
    Last edited by brahoule; 04-19-2018, 06:27 PM.

    Leave a comment:


  • replied
    It should work now. The original page was deleted. https://forums.unrealengine.com/deve...77#post1462477

    Leave a comment:


  • replied
    Originally posted by GarnerP57 View Post
    I have posted an example of a simple RPC in this discussion https://forums.unrealengine.com/deve...65#post1462265
    Your link say : Sorry, you are not authorized to view this page

    Leave a comment:


  • replied
    I have posted an example of a simple RPC in this discussion
    https://forums.unrealengine.com/deve...77#post1462477
    Last edited by GarnerP57; 04-17-2018, 11:34 AM.

    Leave a comment:


  • replied
    Originally posted by GarnerP57 View Post
    The thing you are trying to do is already handled if you unpossess or destroy the player pawn followed by calling RestartPlayerAtTransform.

    If you want the client to call respawn then you need to send an RPC to the server and have the server handle the respawn.
    can you show me a blueprint code example? I'm new with unreal engine and I know nothing about RPC...

    Leave a comment:


  • replied
    The thing you are trying to do is already handled if you unpossess or destroy the player pawn followed by calling RestartPlayerAtTransform.

    If you want the client to call respawn then you need to send an RPC to the server and have the server handle the respawn.

    Leave a comment:


  • replied
    Bump Bump!

    Leave a comment:


  • replied
    Bump Bump!

    Leave a comment:


  • started a topic Multiplayer server spawn at 0,0,0 location

    Multiplayer server spawn at 0,0,0 location

    When I host a game and get to the lobby the server spawn at 0,0,0 location and clients spawn at the right location where I put the spawn actor, When I travel to a new map the server also spawn at 0,0,0 location and clients to respective location...
    Also when the server kill someone and the player respawn, the server return to 0,0,0 location.
    BTW my function of respawn have a condition to respawn only the dead character.
    Last edited by brahoule; 04-15-2018, 04:33 PM.
Working...
X