The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

what comes first: replication or PostBeginPlay?

  • Filter
  • Time
  • Show
Clear All
new posts

  • what comes first: replication or PostBeginPlay?

    OK, two questions really:

    1. Is there any way to test compatibility with a listen server without a 2nd computer? I tried to start a second copy of UT2003 but it just focused the first copy

    2. Will the code in the this map (specifically the ScaledMovementSkyZone class) work with a listen server? I'm worried that the adjusted location will be replicated before PostBeginPlay. I guess I could add a bool bOrigLocSet and only set the original location if that's false (and replicate that too), but is that necessary? (yeah, I realize the replication of the original location is pointless without that - just ignore it)

    I guess my real question is: When talking to a listen server, what comes first when connecting to a game: bNetInitial replication or PostBeginPlay?

  • #2
    PostBeginPlay is called before replication. PostNetBeginPlay is called after replication on the client. On the server, PostNetBeginPlay is called immediately after PostBeginPlay.