Announcement

Collapse
No announcement yet.

Host creates an additional actor post login

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

    Host creates an additional actor post login

    Hello!

    I have the following code below in my GameMode:

    Click image for larger version

Name:	q1.jpg
Views:	32
Size:	267.7 KB
ID:	1533345

    The top one makes everyone post login create a villager. The bottom one makes the host spawn a vampire. Everything is good, but the problem is, and I know it, that the vampire upon logging in also creates a villager. I tried making a branch with IS SERVER as condition, and while in theory sounds that it should work, it doesn't. I do not know how to make the Host ignore the post login code.

    I must note that I have played with the switch has authority and nothing.

    Help?

    #2
    Fix it. Made the Villager player run his command from the player controller.

    Comment

    Working...
    X