Announcement

Collapse
No announcement yet.

Client spawns multiple projectiles

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

    Client spawns multiple projectiles

    Hello,
    I am toying around with a multiplayer game, and i am seeing an odd problem. Everything seems to be replicating well as far as server and clients seeing each others projectiles, however, the client is spawning two projectiles. Which is odd to me because the spawn node is behind a switch has authority node. Its almost like the client has authority. you can see below in the print log that, it seems the client realizes it is not the server, so it calls the server spawn, but then calls spawn itself. Which i dont understand since it does not have authority. Any help, guidance or advice would be greatly appreciate.

    Click image for larger version

Name:	Blueprint.PNG
Views:	1
Size:	143.2 KB
ID:	1170368

    Click image for larger version

Name:	PrintLog.PNG
Views:	1
Size:	233.6 KB
ID:	1170369

    Click image for larger version

Name:	SpawnActor.PNG
Views:	1
Size:	135.0 KB
ID:	1170370

    #2
    I think i figured it out. I didnt realize i could debug the client as well, once i did that, i realized i was calling the fire event above twice.

    Comment

    Working...
    X